diff --git a/examples/MasterParameter/MasterParameter/Test.mo b/examples/MasterParameter/MasterParameter/Test.mo index ba4b68c..e5e5472 100644 --- a/examples/MasterParameter/MasterParameter/Test.mo +++ b/examples/MasterParameter/MasterParameter/Test.mo @@ -1,6 +1,7 @@ within MasterParameter; model Test "Use package parameter" - parameter MasterParameter.ParSet par=InitializeParameters("masterfile.txt") + parameter String master="masterfile.txt" "Name of master file"; + parameter MasterParameter.ParSet par=InitializeParameters(master) annotation (Evaluate=false); extends Modelica.Mechanics.Rotational.Examples.CoupledClutches( J1(J=par.J[1]), diff --git a/examples/MasterParameter/masterfile2.txt b/examples/MasterParameter/masterfile2.txt new file mode 100644 index 0000000..3556926 --- /dev/null +++ b/examples/MasterParameter/masterfile2.txt @@ -0,0 +1 @@ +parfile2.txt diff --git a/examples/MasterParameter/parfile2.txt b/examples/MasterParameter/parfile2.txt new file mode 100644 index 0000000..85f4d79 --- /dev/null +++ b/examples/MasterParameter/parfile2.txt @@ -0,0 +1,4 @@ +1.4 +1.5 +1.1 +1.2