Merge branch 'meb_bugging' into 'master'

modified meb exporter to accept mire than 200 surfaces

See merge request Guille/hub!55
This commit is contained in:
Guillermo Gutierrez Morote 2023-02-13 11:51:15 +00:00
commit 749cb63267

View File

@ -182,8 +182,10 @@ class InselMonthlyEnergyBalance(Insel):
inputs = ['4.1', '4.2']
file = Insel._add_block(file, i_block, 'cum', inputs=inputs)
in_1 = f'{i_block}.1'
in_2 = f'{i_block}.2'
i_block = 303 + len(surfaces)
inputs = ['300.1', '300.2']
inputs = [in_1, in_2]
file = Insel._add_block(file, i_block, 'atend', inputs=inputs)
i_block = 310 + len(surfaces)