- Index
- » Users
- » tomtom451
- » Profile
Posts
Posts
Hi everyone,
I'm looking for a library I don't know the name but an author of a scientific article talked about it 7 years ago. It was working on that library and he said it will be free and available. The library have a better interpolation than the one implemented in the CombiTimeTable which increase a lot my CPU Time.
I note the reference to the article: "Implementation of a Modelica Library for Smooth Spline Approximation " from Jörg Ungethüm and Dirk Hülsebusch
If you have some information about the article or how to decrease the CPU time using CombiTimeTable or equivalent, I am interested.
Thank you,
Thank you,
But it is possible to change the type of the variable easily?
because we have a lot of bus and we want to be able to put them all in protected on one click to hide some informations.
Hello everyone,
I would like to know if it's possible to use a boolean to change the type protected or not of a bus?
I tried this code:
DataCoach3D dataCoach3D(ModeProtectedActivated=ModeProtectedActivated)
annotation (Placement(transformation(extent={{40,50},{60,70}})));
public
parameter Boolean ModeProtectedActivated=false;
if Boolean ModeProtectedActivated then
{ protected Modelica.Icons.SignalSubBus signalSubBus annotation (Placement(transformation(extent={{-32,58},{-12,78}})))";"}
[else
{ public Modelica.Icons.SignalSubBus signalSubBus annotation (Placement(transformation(extent={{-32,58},{-12,78}})))";"}
]
end if ;
But it sent me back the following syntax error:
Error: declaration window line 16 column 5, syntax error at "if" missing { "end" "external" }
Error: declaration window line 17 column 7, syntax error at "protected" missing "end" and missing ";" and missing EndOfFile
ERROR: 2 errors were found
Thanks you for your help and have a nice day.
- Index
- » Users
- » tomtom451
- » Profile