Merge branch 'meb_bug' into 'master'

modified meb exporter to accept mire than 200 surfaces

See merge request Guille/hub!54
This commit is contained in:
Guillermo Gutierrez Morote 2023-02-13 11:11:30 +00:00
commit e9dc6226ba

View File

@ -176,15 +176,15 @@ class InselMonthlyEnergyBalance(Insel):
file = Insel._add_block(file, i_block, 'polyg', inputs=inputs, parameters=parameters) file = Insel._add_block(file, i_block, 'polyg', inputs=inputs, parameters=parameters)
i_block = 300 i_block = 300 + len(surfaces)
inputs = ['4.1', '4.2'] inputs = ['4.1', '4.2']
file = Insel._add_block(file, i_block, 'cum', inputs=inputs) file = Insel._add_block(file, i_block, 'cum', inputs=inputs)
i_block = 303 i_block = 303 + len(surfaces)
inputs = ['300.1', '300.2'] inputs = ['300.1', '300.2']
file = Insel._add_block(file, i_block, 'atend', inputs=inputs) file = Insel._add_block(file, i_block, 'atend', inputs=inputs)
i_block = 310 i_block = 310 + len(surfaces)
inputs = ['4.1', '4.2'] inputs = ['4.1', '4.2']
parameters = ['1 % Mode', parameters = ['1 % Mode',
'0 % Suppress FNQ inputs', '0 % Suppress FNQ inputs',