-
Notifications
You must be signed in to change notification settings - Fork 13
Alfalfa EnergyPlus Mixin Methods
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.
Create an Actuator
Arguments
-
name
Name of actuator to create -
component
Name of component to actuate -
component_type
Type of component -
control_type
Type of control -
external
When true an external interface variable withname
will be created and returned
Return
If external
is true
a tuple of (Input,Output)
is returned
Otherwise a WorkspaceObject
Create External Interface Variable.
Arguments
-
name
Name of external variable to create -
initial_value
Initial value of external variable
Return
Returns an Input
corresponding to the external variable
Create EMS Output Variable
Arguments
-
name
Name of EMS Output Variable to create -
variable
EMS name of variable to connect to Output Variable -
unit
Unit of output
Return
Returns an Output
corresponding to the ems variable
Create EMS Output Variable
Arguments
-
key
Key of Output Variable -
var
Variable of Output Variable
Return
Return an Output
corresponding to the Output Variable
Get first node from NodeList
Arguments
-
node
Nodelist id
Return Return first node in list
- Getting Started with Model Measures Part 1: Creating Inputs and Outputs
- Getting Started with Model Measures Part 2: Creating Actuators
- Getting Started with EnergyPlus Measures Part 1: Creating Inputs and Outputs
- Getting Started with EnergyPlus Measures Part 2: Creating Actuators
- How to Configure an OpenStudio Model
- How to Configure Measures for Use with Alfalfa Ruby Gem
- How to Create Inputs and Outputs With Measures
- How to Run URBANopt Output Models in Alfalfa
- How to Migrate EnergyPlus Python Plugins
- How to Integrate Python based Electric Vehicle Models with OpenStudio Workflows
- How to Locally Test OpenStudio Models
- Required Structure of OpenStudio Workflow
- List of Automatically Generated Energyplus Points
- Alfalfa EnergyPlus Mixin Methods
- Getting Started with Uploading and Running a Model Using Python
- Getting Started with Uploading and Running a Model Using the UI
- How to Install Alfalfa Client
- How to Preprocess and Upload a Model
- How to Step Through a Simulation
- How to View Historical Data in Grafana
- How to Configure an Alias
- How to Troubleshoot Models