[Contents] [TitleIndex] [WordIndex

Weekly report 11 June 2010

This week I have implemented functions (hybm_gen_maindgr and auxiliary functions), which generate Xcos block diagram (in the form of scs_m structure) from description of hybrid automaton's state equations (ODEs) and transitions. An example block diagram generated for a standard "two water tanks" hybrid automaton [1] is shown below.

dgr.jpg

I sent all code to Gerrit.

However I found a problem with simulation of diagrams containing AUTOMAT blocks (in particular, diagrams, generated by hybm_gen_maindgr). For example, if one drags CONST_m and AUTOMAT blocks to diagram, sets CONST_m value to [0;0;0], connects it to both inputs of AUTOMAT block and starts simulation, then simulation fails with messages "Undefined Function type" in Scilab console. I sent description of the problem (with my conjectures about it's source) to Yann Collette and Antonie Elias. Possibly related problems are described in bug reports #7213 [2], #5151 [3].

Plans for the next week

* Implement "parsing" of hybrid automaton state diagrams created with help of utility blocks (CSB/DSB/TGB).

* Integrate state diagram parsing and block diagram generation into HAS block.

[1] http://robotics.eecs.berkeley.edu/~sastry/pubs/PDFs%20of%20Pubs2000-2005/Publications%20of%20Postdocs/Zhang/ZhangZenoHybridSystems2001.pdf

[2] http://bugzilla.scilab.org/show_bug.cgi?id=7213

[3] http://bugzilla.scilab.org/show_bug.cgi?id=5151


2022-09-08 09:26