Analog.MultiSensor
Usage
TranslatedComponents.Analog.MultiSensor()
Connectors
pc- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)nc- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)pv- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)nv- This connector represents an electrical pin with voltage and current as the potential and flow variables, respectively. (Pin)i- This connector represents a real signal as an output from a component (RealOutput)v- This connector represents a real signal as an output from a component (RealOutput)power- This connector represents a real signal as an output from a component (RealOutput)
Behavior
Source
component MultiSensor
pc = Pin()
nc = Pin()
pv = Pin()
nv = Pin()
i = RealOutput()
v = RealOutput()
power = RealOutput()
relations
pc.i + nc.i = 0
pc.v - nc.v = 0
pv.i = 0
nv.i = 0
i = pc.i
v = pv.v - nv.v
power = v * i
endFlattened Source
component MultiSensor
pc = Pin()
nc = Pin()
pv = Pin()
nv = Pin()
i = RealOutput()
v = RealOutput()
power = RealOutput()
relations
pc.i + nc.i = 0
pc.v - nc.v = 0
pv.i = 0
nv.i = 0
i = pc.i
v = pv.v - nv.v
power = v * i
metadata {}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses