|Using 4DIAC in a simulation system [message #1839641]
||Thu, 25 March 2021 01:28
| Neil Higgins
Registered: September 2016
I have an interesting proof-of-concept task for a power system controller. The controller would be implemented in IEC 61499, would export control commands to a power system simulator, and would import power system measurements from the power system simulator to complete the loop. The simulator has a COM API, somewhat dated, and some massaging of identifiers and values would be needed to map them between the simulator and the IEC 61499 environment.|
For testing purposes, the IEC 61499 side would have to work in non-real-time, i.e. pause to await an update of the simulated power system quantities before proceeding. Because the power system simulator also has time-managed simulation capabilities, a common "simulated time" clock and (perhaps) a federated event queue would be desirable.
1. I assume that FORTE currently uses Linux time services in real-time(?) Is there an intervention mechanism, e.g. to substitute a different "clock" which would appropriately affect event and time management in FORTE? If not, does anyone want to provide hints as to which parts of the source code I should look at?
2. As mentioned in another post, I am looking at MQTT as the IPC mechanism between the power system simulator and FORTE, although this would be crude and less-than-ideal. Access to the Lua code for one or more dynamic types would provide a much more flexible alternative. Is there some way that this might be enabled?
Powered by FUDForum
. Page generated in 0.01416 seconds