Open Hoppe-J opened 5 months ago
The problem here is that the EMS adds outputs in some of its default connections. As the default connections are called in the init function of the EMS, these outputs are added to self.all_outputs as soon as the EMS is initiated. What we want is to have these outputs only added when a default connection is made (when connect_automatically=True).
Additional Problem with "connect_automatically": when simulate districts and use connect_automatically, componentes of buildings are mixed, for example
Automatically connection has to be specified with building name. When connect components manually, everything is fine, so problem is in "connect_automatically".
EMS Controller create automatically outputs for battery, advanced hp, modular hp, even components are not in system setup. When using more advanced hp, ems controller test failed, due to incorrect energy balance, because energy is devided to advanced hp and more advanced hp. In addition, when connecting components to ems manually, aotimatic connection will be also there, so components are twice in outputs. When comment automatic connection in ems model out, and connect ems manually with components, everthing works fine.