GO-V.ORG
As seen in

AltaRica

AltaRica is an object-oriented modeling language dedicated to safety analyses. It is a representative of the so-called MBSA (Model-Based Safety Assessment / Analysis) approach in RAMS engineering. Since its version 3.0, it is developed by the non-profit AltaRica Association, which develops jointly the associated modeling environment AltaRica Wizard. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

AltaRica is an object-oriented modeling language dedicated to safety analyses. It is a representative of the so-called MBSA (Model-Based Safety Assessment / Analysis) approach in RAMS engineering. Since its version 3.0, it is developed by the non-profit AltaRica Association, which develops jointly the associated modeling environment AltaRica Wizard. domain MotorPumpState {STANDBY, WORKING, FAILED} block MotorPump MotorPumpState _state (init = STANDBY); Boolean demand, in, out (reset = false); event start (delay = Dirac(0), expectation=gamma); event failureOnDemand (delay = Dirac(0), expectation=1-gamma); event stop (delay = Dirac(0)); event failure (delay = exponential(lambda)); event repair (delay = exponential(1/tau)); parameter Real lambda = 1.0e-4; parameter Real tau = 8; parameter Real gamma = 0.02; transition start: demand and _state==STANDBY -> _state := WORKING; failureOnDemand: demand and _state==STANDBY -> _state := FAILED; stop: not demand and _state==WORKING -> _state := STANDBY; failure: _state==WORKING -> _state := FAILED; repair: _state==FAILED -> _state := STANDBY; assertion out := in and _state==WORKING; end The block "MotorPump" declares also five events and as many transitions. Guards of transitions are Boolean conditions on state and flow variables. Actions of transitions modify the values of state variables. Events are associated with delays and possibly expectations (which are used to calculate probabilities of occurrence of transitions in competition). The description of both delays and expectations may involve parameters. block System // ... block Line1 // description of line 1 end clones Line1 as Line2; // ... assertion out := Line1.out or Line2.out; end class MotorPump // description of the motor pump. end block System // ... MotorPump P1; // 1st instance MotorPump P2; // 2nd instance // ... end Classes and instances : It is often the case that some modeling components are reused from model to model. It is then possible to create libraries of on-the-shelf modeling components and to instantiate them into model. Classes are used for this purpose. They are just containers (or prototypes) defined outside the model. Instances of classes, also called objects, are clones of these containers defined outside the model. Inheritance : It is the mechanism by which one specializes modeling component. If a derived component D inherits from a base component B, all modeling elements of B are reproduced in D. D may declare additional ports, connections and containers. Aggregation : Cloning and instantiation create components inside components. The inner component is part of the outer one. There are cases however where a component is used by another one, without being part of this component. This mechanism is reflected into model by a mechanism called aggregation. Aggregation is extremely useful to project a functional architecture onto a physical one, and to represent so-called functional chains AltaRica 3.0 involves a few other constructs, such as a powerful mechanism to synchronize events. The essential has however been presented above. Adding S2ML on top of a mathematical framework (GTS in the case of AltaRica), makes it possible to pass automatically and at no cost from the model as designed, which reflects the architecture of the system under study, to the model as assessed from which calculations of indicators and simulations can be performed efficiently. The transformation preserves the semantics of the models and is reversible for the most part: results of calculations and simulations are directly interpretable in the model as designed. A recent trend in the AltaRica community is the design of modeling patterns. Patterns are pervasive in engineering. They have been developed for instance in the field of technical system architecture, as well as in software engineering. They are useful in reliability engineering also, as they ease design and maintenance of models. They are also a tool for risk analysts to communicate about the models they develop and share.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"AltaRica". 1787029916. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1369961391

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·