Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Array record parameters in Modelica.Electrical.EnergyStorages #5

@modelica-trac-importer

Description

@modelica-trac-importer

Reported by pharman on 16 Oct 2012 09:03 UTC
In 3 places in Modelica.Electrical.EnergyStorages there is a parameter that is an array of records of undefined size called RC:

  • Modelica.Electrical.EnergyStorages.CellRecords.LinearDynamicImpedance.LinearDynamicImpedanceParameters
  • Modelica.Electrical.EnergyStorages.Batteries.Components.Impedances.RCseriesLinear
  • Modelica.Electrical.EnergyStorages.Batteries.Components.Impedances.CellImpedance

The size of these parameters are used to define the sizes of component arrays in the models so prevent complete checking of the model, they therefore need to have default values.

This is compounded by the fact that the record type used for these arrays does not have default parameter values, so a single element array such as {EnergyStorages.CellRecords.Components.RCelement()} cannot be used to fix this.


Migrated-From: https://trac.modelica.org/Modelica/ticket/879

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions