Analog.PotentialSensor ​
Usage ​
TranslatedComponents.Analog.PotentialSensor()
Connectors ​
p- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)phi- This connector represents a real signal as an output from a component (RealOutput)
Behavior ​
julia
using TranslatedComponents #hide
using ModelingToolkit #hide
@named sys = TranslatedComponents.Analog.PotentialSensor() #hide
full_equations(sys) #hide<< @example-block not executed in draft mode >>Source ​
dyad
component PotentialSensor
p = Pin()
phi = RealOutput()
relations
p.i = 0
phi = p.v
endFlattened Source
dyad
component PotentialSensor
p = Pin()
phi = RealOutput()
relations
p.i = 0
phi = p.v
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses