Relay
Relay. See https://en.wikipedia.org/wiki/Relay
Note: this model is in beta. Please contact us if you find any unusual behavior.
Example usage
flux.simulationModel = {
type: "relay",
coilR: 20,
poleCount: 1,
inductance: 0.2,
r_on: 0.05,
r_off: 1e6,
onCurrent: 0.02,
map_input_to_terminal_uid: "your-terminal-element-uid",
map_output_to_terminal_uid: "your-terminal-element-uid",
map_nCoil1_to_terminal_uid: "your-terminal-element-uid",
map_nCoil2_to_terminal_uid: "your-terminal-element-uid",
map_nCoil3_to_terminal_uid: "your-terminal-element-uid"
}
Fields
Name | Type | Default | Description |
---|---|---|---|
type | "relay" | The type of this object, always the string literal "relay" | |
coilR | number | 20 | Coil Resistance (ohms) |
poleCount | number | 1 | Number of Poles |
inductance | number | 0.2 | Inductance (H) |
r_on | number | 0.05 | On Resistance (ohms) |
r_off | number | 1e6 | Off Resistance (ohms) |
onCurrent | number | 0.02 | On Current (A) |
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. | |
map_nCoil1_to_terminal_uid | string | The terminal ID corresponding to the nCoil1. | |
map_nCoil2_to_terminal_uid | string | The terminal ID corresponding to the nCoil2. | |
map_nCoil3_to_terminal_uid | string | The terminal ID corresponding to the nCoil3. |
Was this page helpful?