Lamp
Electric lamp. See https://en.wikipedia.org/wiki/Electric_light
Note: this model is in beta. Please contact us if you find any unusual behavior.
Example usage
flux.simulationModel = {
type: "lamp",
nom_v: 120,
nom_pow: 100,
warmTime: 0.4,
coolTime: 0.4,
map_input_to_terminal_uid: "your-terminal-element-uid",
map_output_to_terminal_uid: "your-terminal-element-uid"
}
Fields
Name | Type | Default | Description |
---|---|---|---|
type | "lamp" | The type of this object, always the string literal "lamp" | |
nom_v | number | 120 | Nominal Voltage |
nom_pow | number | 100 | Nominal Power |
warmTime | number | 0.4 | Warmup Time (s) |
coolTime | number | 0.4 | Cooldown Time (s) |
map_input_to_terminal_uid | string | The terminal ID corresponding to the input. | |
map_output_to_terminal_uid | string | The terminal ID corresponding to the output. |
Was this page helpful?