SenHuang19 / BuildingControlTest

"A Docker setup for building control testing"
3 stars 1 forks source link

Cannot Input Zone Temperature Fault on Floor 2 or Floor 3 #6

Open cbakker2 opened 2 years ago

cbakker2 commented 2 years ago

Using

faults['floorX_zonT'] = {'variable':'floorX_zonT_input'}

res = requests.put('{0}/fault_scenario'.format(url_modelica), json=faults)

works if X = 1 (code 200) but produces a 500 error from the emulator if X = 2 or X = 3. The emulator produces a lot of information in response to this, but the main issue seems to be

jmodelica0_1 | Error at line 7, column 100, in file './fmu/test.mo': jmodelica0_1 | Array size mismatch in modification of dt, expected size is [5] and size of binding expression is scalar

SenHuang19 commented 2 years ago

this is resolved by recent commit