[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EnergyPlus_Support] Re: Baseboard convective at constant capacity



You could write a small EMS program to change the capacity or schedule of the electric base board heater as well as the setpoint(s)schedules:

I wrote this to turn a negative process load on and off (as negative process loads don't have thermostatic control. It basically manipulates schedules during the simulation run. As you can see it's not all that crazy. I'm not a programmer and I got this working for me.

--------------------------------------------------------------------
!This .idf is needed per each zone where cooling using negative process
!loads is desired with setpoint control which defined the zone cooling setpoint. 
!Our zone in this example was called "457".

!Exchange "457" with what ever zone number (name) this must apply to. 
!Exchange "Zone 457 Cooling SP Sch" with what ever equipment setpoint schedule name is relevant.
!Exchange "1100" with what ever equipment schedule name is relevant.

!NB this allows for simultaneous heating and cooling.


!***Sensor Name, OutputVariable to echo, Name of new output Variable***
!Zone Air Temperature Value
EnergyManagementSystem:Sensor,
T_457,                         ! Sensor Name...reporting temperature
457,                          ! Output:Variable or Output:Meter Index Key Name
Zone Mean Air Temperature;    ! Output:Variable or Output:Meter Name

!Setpoint  Value
EnergyManagementSystem:Sensor,
S_457,                         ! Sensor Name...reporting schedule properties
Zone 457 Cooling SP Sch,      ! Output:Variable or Output:Meter Index Key Name
Schedule Value;               ! Output:Variable or Output:Meter Name

!Equipment Schedule Value
EnergyManagementSystem:Sensor,
E_457,                         ! Sensor Name...reporting schedule properties
1100,                          ! Output:Variable or Output:Meter Index Key Name
Schedule Value;               ! Output:Variable or Output:Meter Name  

EnergyManagementSystem:Actuator,
Cooling_Schudule_Value ,      !- Name
1100 ,                         !- Actuated Component Unique Name...in this case "1100" the equipment cooling schedule applied to this zone
Schedule:Compact,              !- Actuated Component Type
Schedule Value ;               !- Actuated Component Control Type


!***Program Calling Proceedure***
EnergyManagementSystem:ProgramCallingManager,
Zone Mean Air Temperature,                                               ! Name
AfterPredictorBeforeHVACManagers,                                    ! EnergyPlus Model Calling Point
SetNegativeProcessLoadOnOff;                                             ! Program 1 Name

!***Main Program***
!******************
EnergyManagementSystem:Program,
SetNegativeProcessLoadOnOff,                                            ! Program 1 Name  
SET CurrentThermostatCoolingSP = S_457,                                                     
SET CurrentZoneAirTemp = T_457,
SET EquipmentScheduleValue = E_457,

IF CurrentZoneAirTemp < CurrentThermostatCoolingSP && EquipmentScheduleValue > 0,                             
SET Cooling_Schudule_Value = 0,
ELSEIF CurrentZoneAirTemp < CurrentThermostatCoolingSP && EquipmentScheduleValue == 0,
SET Cooling_Schudule_Value = 0,
ELSEIF CurrentZoneAirTemp > CurrentThermostatCoolingSP && EquipmentScheduleValue > 0,
SET Cooling_Schudule_Value = 1, 
ELSEIF CurrentZoneAirTemp > CurrentThermostatCoolingSP && EquipmentScheduleValue == 0, 
SET Cooling_Schudule_Value = 1,                                         
ENDIF;

Output:EnergyManagementSystem,
Verbose,
Verbose,
Verbose;

!***End Main Program***



------------------------------------

Primary EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

The primary EnergyPlus web site is found at:
http://www.energyplus.gov

The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/

Attachments are currently allowed but be mindful that not everyone has a high speed connection.  Limit attachments to small files.

EnergyPlus Documentation is searchable.  Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/join
    (Yahoo! ID required)

<*> To change settings via email:
    EnergyPlus_Support-digest@xxxxxxxxxxxxxxx 
    EnergyPlus_Support-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/