AnalogSwitch2
Single-pole, double-throw switch. See https://en.wikipedia.org/wiki/Switch .
Published "analogSwitch2" part
Note: this model is in beta. Please contact us if you find any unusual behavior.
Example usage
flux.simulationModel = {
type: "analogSwitch2",
r_on: 20,
r_off: 1e10,
map_input_to_terminal_uid: "your-terminal-element-uid",
map_output_to_terminal_uid: "your-terminal-element-uid"
}
Fields
Name | Type | Default | Description |
---|---|---|---|
type | "analogSwitch2" | The type of this object, always the string literal "analogSwitch2" | |
r_on | number | 20 | On resistance |
r_off | number | 1e10 | Off resistance |
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?