Opened 14 years ago

Closed 4 years ago

#1256 closed defect (wontfix)

Errors in instantiation of inherited components

Reported by: asodja Owned by: asodja
Priority: high Milestone: Future
Component: Instantiation Version: 1.6.0
Keywords: Cc: asodja

Description

In the attachment is a library (folder {{SolarHouse}}) and a mos-script ({{testLibrary.mos}}) which causes the following errors and warnings:

true
true
record SimulationResult
    resultFile = "Simulation failed.
Warning: Parameter start_time has no value, and is fixed during initialization (fixed=true)
Warning: Parameter rho has no value, and is fixed during initialization (fixed=true)
Warning: Parameter c has no value, and is fixed during initialization (fixed=true)
Warning: Parameter L has no value, and is fixed during initialization (fixed=true)
Warning: Parameter A has no value, and is fixed during initialization (fixed=true)
Warning: Parameter lambda has no value, and is fixed during initialization (fixed=true)
Warning: Parameter A has no value, and is fixed during initialization (fixed=true)
Warning: Parameter L has no value, and is fixed during initialization (fixed=true)
Warning: Parameter lambda has no value, and is fixed during initialization (fixed=true)
Warning: Parameter A has no value, and is fixed during initialization (fixed=true)
Warning: Parameter L has no value, and is fixed during initialization (fixed=true)
Error: Variable Layer1.L not found in scope SolarHouse.BuildingParts.Wall5
...

The components SolarHouse.BuildingsParts.Wall5 instantiates fine (without a warning or error) in simpler models (see Examples.testModel), but fails in more complicated Examples.Kamra.

Attachments (1)

library.zip (47.2 KB ) - added by asodja 14 years ago.
Attachment uploaded again.

Download all attachments as: .zip

Change History (3)

by asodja, 14 years ago

Attachment: library.zip added

Attachment uploaded again.

comment:1 by Dietmar Winkler, 9 years ago

Cc: asodja, → asodja
Milestone: Future

comment:2 by Per Östlund, 4 years ago

Resolution: wontfix
Status: newclosed

I'm closing this ticket since the library lacks a uses-annotations and I can't find a Modelica standard library that works with it, and the ticket is so old that it's probably no longer relevant anyway.

Note: See TracTickets for help on using tickets.