Opened 8 years ago

Closed 3 years ago

#3754 closed defect (fixed)

Buildings model not instantiated correctly

Reported by: sjoelund.se Owned by: somebody
Priority: critical Milestone: 1.16.0
Component: Frontend Version: v1.9.4-dev-nightly
Keywords: Cc: perost

Description

See the attached model, which instaniates to:

protected parameter Real vol.state_start.p(quantity = "Pressure", unit = "Pa", displayUnit = "bar", min = 0.0, max = 100000000.0, start = 100000.0, nominal = 100000.0);

We have:

parameter Medium.ThermodynamicState state_start = Medium.setState_pTX(T = T_start, p = p_start, X = X_start[1:Medium.nXi]);

Attachments (1)

a.mo (5.3 KB) - added by sjoelund.se 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by sjoelund.se

comment:1 Changed 8 years ago by sjoelund.se

The problem was cevalBuiltinSum not being implemented. And of course that we silently allow modifiers to fail to ceval...

comment:2 Changed 3 years ago by perost

  • Milestone changed from Future to 1.16.0
  • Resolution set to fixed
  • Status changed from new to closed

Seems to be working in both the old and the new frontend now.

Note: See TracTickets for help on using tickets.