Modelling Transformers using EMS [closed]
Hi,
I am using ePlus to model transformers. The goal right now however is to implement a new meter using EMS to show transformer losses in the output (essentially I am assuming the transformer loss is 5% of the lights for now for testing purposes).
The issue I have right now is I cannot find my new meter (transformer loss) after the simulation has run.
Please see script below:
EnergyManagementSystem:Sensor,
M_Lights, !Name
, ! Output:Variable or Output:Meter Index Key Name
InteriorLights:Electricity; ! Output:Variable or Output:Meter Name
EnergyManagementSystem:ProgramCallingManager,
Transformer Losses, ! Name
EndOfZoneTimestepBeforeZoneReporting, ! EnergyPlus Model Calling Point
TLossCalc; ! Program Name 1
EnergyManagementSystem:GlobalVariable,
TLoss;
EnergyManagementSystem:Program,
TLossCalc, ! Name
SET TLoss = M_Lights * 0.05;
EnergyManagementSystem:MeteredOutputVariable,
Transformer Loss, !- Name
TLoss, !- EMS Variable Name
ZoneTimestep, !- Update Frequency
, !- EMS Program or Subroutine Name
Electricity, !- Resource Type
Building, !- Group Type
ExteriorEquipment, !- End -Use Category
Transformers, !- End -Use Subcategory
J; !- Units
Okay, this script was working, I just needed to put this line in the IDF file in the output variable section.
Output:Variable,*,Transformer Loss,hourly; !- HVAC Average [W]
@EnergyModeler feel free to move your solution to an answer to your own question and accept it.