Ticket #73 (new enhancement)
instance name
| Reported by: | AHaumer | Owned by: | ModelicaDesignList |
|---|---|---|---|
| Priority: | normal | Milestone: | Design58 |
| Component: | --Modelica Specification-- | Version: | Spec3.0 |
| Severity: | normal | Keywords: | instance name |
| Cc: | Hide ticket: | no |
Description
In some professional applications it is desired that each component reports its own settings to a log-file (e.g. using Modelica.Utilities).
To be able to distingiush between the reports (you might have mutliple instances of the same component) each component should be able to access its own fully qualified instance name, e.g. "model.subCircuit.componentxy".
Of course the specification should prohibit abuse (e.g. changing the component's behaviour depending on its name).
Anyhow, such a read-only variable "instanceName" would be a great improvement.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
