Resistor
The object that describes how to configure a resistor simulation primitive.
Example
flux.simulationModel = {
type: "resistor",
resistance: 1000,
map_input_to_terminal_uid: "element uid",
map_output_to_terminal_uid: "element uid",
}
Fields
Name | Type | Description |
---|---|---|
type | Readonly<string> | The type of this object, represented by the string literal "resistor". |
resistance | number | (Ω) The voltage drop that is required to make 1A of current flow across the resistor. |
map_input_to_terminal_uid | Readonly<string> | The terminal ID corresponding to the resistor's input. |
map_output_to_terminal_uid | Readonly<string> | The terminal ID corresponding to the resistor's output. |
Was this page helpful?