Message Boards Message Boards

0
|
6399 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Finding declared table in SystemModeler example HouseHeating.mo

Posted 3 years ago
POSTED BY: John Burgers
2 Replies

The author of HouseHeating.Components.Walls probably didn't intended that users of the component should change the table, so therefore it's done in such a away that it isn't visible in the user interface by default. It's a constant so to see it you can enable the Constants view (View > Constants).

You could also so see it directly if you switch to text view (View > Class Window > Modelica Text View or Ctrl + 3).

enter image description here

POSTED BY: Otto Tronarp

Hi John,

You can access the thermalConductivityTable[] using the following steps:

  1. Open the Walls component present inside the Components package.

  2. Open the text view (Ctrl + 3).

  3. There you will find an array named thermalConductivityTable of type Modelica.SIunits.ThermalConductivity. This array contains conductivity factors for the materials like cotton wool, glass wool etc.

POSTED BY: Ankit Naik
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract