Ticket #73 (new enhancement)

Opened 2 months ago

Last modified 2 months ago

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

Changed 2 months ago by dietmarw

  • hide_ticket unset

Add/Change #73 (instance name)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.