Search the Community
Showing results for tags 'sca_tdf'.
Found 1 result
Hi community, I would like to build an advanced ELN primitive which acts as the primitive and automatically calculates for instance the power of the primitive. Furthermore, the power should be traceable when it is needed but it should also be possible to leave the power information dangling. My first idea was to create an ELN module (sca_eln::sca_module) that consists of the ELN primitive, a voltage sink (sca_eln::sca_tdf_vsink), a current sink (sca_eln::sca_isink) and a variable (sca_tdf::sca_trace_variable). The sca_trace_variable should contain the current power p(t) and it would be traceable when needed and could also be dangling. Due the sca_trace_variable is a TDF MOC, in the AMS-LRM §18.104.22.168 is mentioned that the sca_trace_variable should only be read or written in the member function processing(). Now the problem arise, that in an ELN module (sca_eln::sca_module) no member function processing() can be called because ELN modules have no one. Does anyone have an idea, of how to build an advanced ELN primitive that can provide additional (traceable) information without affecting the ELN equation system? Kind regards Thomas