Skip to main content

Module instruct

Module instruct 

Source
Expand description

Reading an S2 instruction back into something the site can execute.

An instruction is not a command. It names an operation mode by ID and gives a factor in [0, 1]; turning that into watts needs the description that was sent, which is why every function here takes one. A Resource Manager that interprets an instruction without reference to what it advertised is guessing.

Enums§

InstructError
Why an instruction could not be executed.

Functions§

battery_power
The active power an FRBC instruction asks a battery for.
envelope_command
The command that carries out a PEBC instruction on asset.
envelope_now
The nearest-term ceiling a PEBC instruction imposes, for the given commodity.
heat_pump_state
The SG Ready state an OMBC instruction selects.