- Index
- » Users
- » srideep
- » Profile
Posts
Posts
Page Start Prev 1 Next End
Big thanks to JOssorio for this solution!
However the Excavator example was still not working for me. It gives the following error:
Code:
[3] 14:01:51 Translation Error
[Modelica.Mechanics.MultiBody.Visualizers: 1986:8-1987:83]: PartialModelicaServices is partial, name lookup is not allowed in partial classes.
[4] 14:01:51 Translation Error
[ModelicaServices: 653:5-654:81]: PartialModelicaServices is partial, name lookup is not allowed in partial classes.
Also the PressureCompensated & PressureCompensatedLoadSensing circuits were still not working for me, which I tracked down to the following:
Need to change OpenHydraulics.Components.MotorsPumps.PCLSPump.mo
For the swashPlatePD bloack we need to change the initType from Init.InitialState to InitPID.InitialState
Before:
Code:
Modelica.Blocks.Continuous.LimPID swashPlatePD(
final controllerType=Modelica.Blocks.Types.SimpleController.PD,
k=propGain,
Td=timeConst,
final yMin=0,
initType=Modelica.Blocks.Types.Init.InitialState)
annotation (Placement(transformation(extent={{0,-36},{20,-16}},
rotation=0)));
After
Code:
Modelica.Blocks.Continuous.LimPID swashPlatePD(
final controllerType=Modelica.Blocks.Types.SimpleController.PD,
k=propGain,
Td=timeConst,
final yMin=0,
initType=Modelica.Blocks.Types.InitPID.InitialState)
annotation (Placement(transformation(extent={{0,-36},{20,-16}},
rotation=0)));
Page Start Prev 1 Next End
- Index
- » Users
- » srideep
- » Profile