Tags and keywords
Note how some of the Port names have been re-mapped using the 'name' tagged value of «ModelicaPort» or «SimulinkPort».
There are a couple of subtleties when dealing with the electrical components.
The Port 'p' on the SysPhS
Electrical.Ground block is 'inout'. It maps to a Modelica
connector Pin "Pin of an electrical component" SI.ElectricPotential v "Potential at the pin"; flow SI.Current i "Current flowing into the pin"; end Pin;
i flowing back out of the
Ground is negative.
Modelica.Electrical.Analog.Interfaces.OnePort is extended by many basic analog components such as
It's worth noting that use of the term Connector in UML/SysML is very different from that of the
connector keyword in Modelica, as explained under: Concerning definitions: "a connector end" vs "a connector between 2 ends" vs "connection" vs "connect" in various technologies.