Opened 12 years ago

Closed 11 years ago

#1985 closed defect (fixed)

FMI import fail to use input varibles

Reported by: anonymous Owned by: Adeel Asghar
Priority: high Milestone: 1.9.0
Component: FMI Version: trunk
Keywords: Cc:

Description

Input variables
(for example

Modelica.Blocks.Interfaces.RealInput pr_meas annotation(Placement(transformation(extent = {{-120,60},{-100,80}})));
Modelica.Blocks.Interfaces.RealInput ps_meas annotation(Placement(transformation(extent = {{-120,35},{-100,55}})));
Modelica.Blocks.Interfaces.RealInput pf_meas annotation(Placement(transformation(extent = {{-120,-15},{-100,5}})));

)

are present in the initial algorithm:
(
initial algorithm

..

flowParamsStart:=fmiFunctions.fmiSetReal(fmi, {2.0,3.0,8.0,9.0}, {pr_meas,ps_meas,pp_meas,pf_meas});

)

but not in the equation or algorithm sections. After initialization the input variables have no effect. If I manually add similar row, as in the initial algorith, for example in algorithm block, simulation seems to work as expected.

Change History (1)

comment:1 by Adeel Asghar, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in r16588.

Note: See TracTickets for help on using tickets.