Voltage
Voltage Source of various waveforms. See https://en.wikipedia.org/wiki/Voltage_source
Note: this model is in beta. Please contact us if you find any unusual behavior.
Example usage
flux.simulationModel = {
type: "voltage",
waveform: "DC",
maxVoltage: 5,
phaseShift: 0,
bias: 0,
frequency: 40,
dutyCycle: 0.5,
map_input_to_terminal_uid: "your-terminal-element-uid",
map_output_to_terminal_uid: "your-terminal-element-uid"
}
Fields
Name | Type | Default | Description |
---|---|---|---|
type | "voltage" | The type of this object, always the string literal "voltage" | |
waveform | WaveForm | "DC" | Waveform |
maxVoltage | number | 5 | Voltage or max voltage |
phaseShift | number | 0 | Phase Offset (degrees) |
bias | number | 0 | DC Offset (V) |
frequency | number | 40 | Frequency (Hz) |
dutyCycle | number | 0.5 | Duty Cycle |
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?