Menu

Example of LQN model modeled using MATLAB code rather than XML

Help
2019-01-11
2019-02-28
  • Gururaj Maddodi

    Gururaj Maddodi - 2019-01-11

    Hi,

    I'm trying to use LINE for modeling an LQN model. In LINE v.2.0.0-aplha it seems easy, but I want and there are example to construct a model using MATLAb functions. But I need asynchronous messaging so I have to use v.1.0.0. Is there an example of LQN model modeled using MATLAB functions in v.1.0.0?

     
  • Giuliano Casale

    Giuliano Casale - 2019-01-12

    Hi,

    Thanks for trying out LINE. In LINE 1.0.0 you find under the src/examples folder the file example_LQN_4.m that illustrates how to solve an LQN with asynchronous messaging, but you need to load it from XML.

    It is expected that we will add in the next few months asynch calls to 2.0.0, but currently it is not available. There is no particular challenge in adding them, but the time to debug and test can be quite long.

    Best wishes
    Giuliano

     
  • Gururaj Maddodi

    Gururaj Maddodi - 2019-01-18

    Hi,

    Thanks a lot for the reply. Is there a description of the example_LQN_4.m somewhere, like the description of the system being modeled may be including a sequence diagram or something. Can I visualize the model like the one shown in Line-2.0.0 documentation using plot(model). Also is it not possible at all to define a model using the LQN classes like lqn, processor, task etc. as described in the documentation?

     
  • Giuliano Casale

    Giuliano Casale - 2019-02-28

    Hi

    Same problem as in the othe thread, the reply was filtered long ago and I did not realise. :-(

    You can check out the LQNS tool by Carleton University for graphical
    display of LQNs provided in XML format. It comes with an utility to
    plot LQN graphs from XML files. Both LINE 1.0.0 and 2.0.0 use the XML
    format style of their LQNS tool.

    Best wishes
    Giuliano

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.