-
Notifications
You must be signed in to change notification settings - Fork 19
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
-
nameName of input to create -
variable_nameEMS name of variable to control -
defaultValue 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
-
nameName of actuator to create -
componentName of component to actuate -
component_typeType of component -
control_typeType of control -
externalWhen true an external interface variable withnamewill be created and returned
Return
If external is true a tuple of (Input,Output) is returned
Otherwise a WorkspaceObject
Create External Interface Variable.
Arguments
-
nameName of external variable to create -
initial_valueInitial value of external variable
Return
Returns an Input corresponding to the external variable
Create EMS Output Variable
Arguments
-
nameName of EMS Output Variable to create -
variableEMS name of variable to connect to Output Variable -
unitUnit of output
Return
Returns an Output corresponding to the ems variable
Create EMS Output Variable
Arguments
-
keyKey of Output Variable -
varVariable of Output Variable
Return
Return an Output corresponding to the Output Variable
Get first node from NodeList
Arguments
-
nodeNodelist 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