Hi everyone, I'm trying to add a EMS script with loops manually to a IDF (that is, copying and pasting the script), but I get the error below when I try to simulate. I just realised that I could use 'for loops' in eppy to add an EMS object for each zone, and therefore omit the zone loop, but i'd like to know if anyone knows an easier way to make this script with loops work, considering that the script should be added manually to de IDF.
Thanks in advance.
See the error below:
* Severe * GetRuntimeLanguageUserInput: EnergyManagementSystem:GlobalVariable, invalid entry.
* ~~~ * Invalid Erl Variable Name=<foralloccupiedzones>
* ~~~ * Name conflicts with an existing global variable name
* Severe * GetRuntimeLanguageUserInput: EnergyManagementSystem:GlobalVariable, invalid entry.
* ~~~ * Invalid Erl Variable Name=<loopnextzone>
* ~~~ * Name conflicts with an existing global variable name
* Fatal * Errors found in getting EMS Runtime Language input. Preceding condition causes termination.
...Summary of Errors that led to program termination:
..... Reference severe error count=2
..... Last severe error=GetRuntimeLanguageUserInput: EnergyManagementSystem:GlobalVariable, invalid entry. *** Warning: Node connection errors not checked - most system input has not been read (see previous warning).
*** Fatal error -- final processing. Program exited before simulations began. See previous error messages. ***
*** ===== Final Error Summary ===== *** The following error categories occurred. Consider correcting or noting.
*** Nominally Unused Constructions *** ..The nominally unused constructions warning is provided to alert you to potential conditions that can cause
*** ..extra time during simulation. Each construction is calculated by the algorithm indicated in the HeatBalanceAlgorithm
*** ..object. You may remove the constructions indicated (when you use the DisplayExtraWarnings option).
*** *** EnergyPlus Warmup Error Summary. During Warmup: 0 Warning; 0 Severe Errors. *** EnergyPlus Sizing Error Summary. During Sizing: 4 Warning; 2 Severe Errors.
*** EnergyPlus Terminated--Fatal Error Detected. 7 Warning; 2 Severe Errors; Elapsed Time=00hr 00min 0.30sec