Examples: Rules for Formulas
An ASCET model contains two parameters named cont and input. Both elements are of model data type cont.
Example for Rule A
cont is implemented with the implementation type real64 and the formula linear (see
here).
The following warning is issued during code generation:
WARNING(WIa62): Element "cont" using float implementation must have identity formula --- formula "ident" is used instead of formula "linear"
The ASAM-MCD-2MC code generated for cont looks
as follows.
Example for Rule B
input is implemented with the implementation type uint16 and the formula nonlinear (see
here).
If input is connected to, e.g.,
a mux operator, code generation works without error.
The ASAM-MCD-2MC code generated for input looks
as follows.
If input is connected to, e.g.,
an addition operator, the following warning is issued during code generation.
Error (MMdl623) - Operation add is not supported for non-linear formula %2



