Skip to content

Alfalfa EnergyPlus Mixin Methods

Tobias Shapinsky edited this page Jun 21, 2023 · 2 revisions

create_enabled_input(name, variable_name, default="Null")

Create enabled input to actuate an EMS variable. This method creates an external variable with the specified name and an EMS program to copy the value to the specified variable if enabled or the default value otherwise

Arguments

  • name Name of input to create
  • variable_name EMS name of variable to control
  • default Value to have when not enabled. Default to null for actuator control

Return Returns an Input with an enable_variable property. The Input can then be registered with Alfalfa.


Model Configuration

Openstudio

Tutorials

Guides

Reference

Modelica

Guides

Alfalfa Interaction

Tutorials

Guides

Reference

Explanation

Alfalfa Development

Guides

General

Reference

Explanation

Clone this wiki locally