Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework CombiTable description #18

Open
klausschuch opened this issue Nov 12, 2024 · 1 comment
Open

Rework CombiTable description #18

klausschuch opened this issue Nov 12, 2024 · 1 comment
Assignees

Comments

@klausschuch
Copy link
Collaborator

as discussed in the webmeeting, the combitables section(s) need some rework

@TorstenBlochwitz
Copy link
Contributor

I would propose to use this Modelica model as example:
model Model2 "CombiTable1D.mo"
Modelica.Blocks.Tables.CombiTable1Ds combiTable1Ds1(
table={{1,2,4,7},
{2,3,2,5},
{3,4,1,2}},
columns={2,3},
smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments) annotation(Placement(transformation(extent={{-70,15},{-50,35}})));
Modelica.Blocks.Sources.RealExpression realExpression1(y=time) annotation(Placement(transformation(extent={{-115,15},{-95,35}})));
equation
connect(realExpression1.y,combiTable1Ds1.u) annotation(Line(
points={{-94,25},{-89,25},{-77,25},{-72,25}},
color={0,0,127}));
annotation(
uses(Modelica(version="4.0.0")),
experiment(
StopTime=3,
StartTime=1,
Interval=0.001));
end Model2;

I will use it to generate the modelDescription.xml with the parameters and some variables and to manually generate the terminalsAndIcons.xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants