Modelling Transformers using EMS [closed]

asked 2019-04-03 08:45:03 -0500

EnergyModeler gravatar image

updated 2019-04-03 10:11:55 -0500

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]
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by EnergyModeler
close date 2019-04-03 10:12:07.613780

Comments

@EnergyModeler feel free to move your solution to an answer to your own question and accept it.

MatthewSteen gravatar image MatthewSteen  ( 2019-04-03 14:08:07 -0500 )edit