Dear Ankit,
In your Example 1:
How do you build the list
{Modelica.Fluid.Vessels.BaseClasses.VesselPortsData(diameter = 0.3, height = 1)}
INTO and WITH SystemModeler, without going to copy it somewhere else and particularly not from your example?
Said otherwise:
Where does this list come from?
Or yet otherwise:
How to build the list into PortsData directly with SystemModeler?
Thank you beforehand for your answer.
Kindest regards.
Gianni Mocellin
PS: Phone number for an eventual and very appreciated WhatsApp or FaceTime call (or even a Zoom link) :
00 41 79 202 36 37