【发布时间】:2016-11-29 15:30:23
【问题描述】:
我正在尝试根据呈现给模型的外部文件的大小更改实验的模拟设置(startTime、stopTime、Interval)。
实验注释允许人们像这样设置这些模拟设置,
annotation(Experiment(startTime=0,stopTime=10,Interval=500));
现在我正在尝试根据在同一模型中声明的参数设置这些值。该参数基本上是扫描外部文件以查找其大小。 Modelica 无法识别同一注释的以下声明?
model ExperimentAnnotation
parameter Integer start = 0;
parameter Integer stop = 10;
parameter Integer size = 100;
equation
annotation(Experiment(startTime=start,stopTime=stop,Interval=size));
end ExperimentAnnotation;
有解决办法吗?请多多指教。
谢谢。
【问题讨论】:
标签: annotations meta modelica dymola openmodelica