Function that allows to simulate N uncoordinated heat pump systems in series using parameter values from a N x 24 mat file
function simulateUnits input TransiEnt.Basics.Types.Poolsize N = 100 annotation( Dialog = true, choicesAllMatching); final parameter Real A[N, 24] = readMatrix(Modelica.Utilities.System.getEnvironmentVariable(Basics.Types.PUBLIC_DATA) + "electricity/HeatpumpSystemPool/" + "heatpumpSystem_N" + String(N) + ".mat", "A", N, 24); parameter String resultFileName = "HPS_BivTest"; constant Real tend = 31622400; constant Real dt = 900; output Boolean success; end simulateUnits;