{"title":"OpenModelica动态系统的Julia结构分析","authors":"Liubomyr Vytvytskyi, B. Lie","doi":"10.3384/ecp2017017","DOIUrl":null,"url":null,"abstract":"In control theory for dynamic systems, the information about observability and controllability of states plays a key role to evaluate the possibility to observe states from outputs, and use inputs to move states to a desired position, respectively. Th automatic determination of observability and controllability is possible, in particular for linear models where typically observability and controllability grami-ans are considered. In the case of large scale systems, e.g., complex models of regional energy systems, standard analysis becomes challenging. For large scale systems, structural analysis based on directed graphs is an interesting alternative: structural observability (or: controlla-bility) is a necessary requirement for actual observability (or: controllability). Directed graphs can be set up directly for linear models, but can also be extracted from nonlinear models. Modelica is a suitable language for describing large scale models, but does not support graph algorithms. One possibility is to integrate the Modelica model into a language supporting graph algorithms, e.g., Julia: this integration can be done using package OMJulia which works with the free tool OpenModelica. OMJulia does not give direct access to the nonlinear model in Modelica, but a linear model approximation can be extracted and used for setting up the system graph. In this study, an experimental implementation of automated structural analysis is done in Julia using the LightGraphs.jl package. As an example, this structural analysis is tested on hydropower models of different complexity that are modelled in OpenModelica using our in-house hydropower Modelica library — OpenHPL, where different models for hydropower systems are assembled.","PeriodicalId":179867,"journal":{"name":"Proceedings of The 60th SIMS Conference on Simulation and Modelling SIMS 2019, August 12-16, Västerås, Sweden","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2019-01-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Structural analysis in Julia for dynamic systems in OpenModelica\",\"authors\":\"Liubomyr Vytvytskyi, B. Lie\",\"doi\":\"10.3384/ecp2017017\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In control theory for dynamic systems, the information about observability and controllability of states plays a key role to evaluate the possibility to observe states from outputs, and use inputs to move states to a desired position, respectively. Th automatic determination of observability and controllability is possible, in particular for linear models where typically observability and controllability grami-ans are considered. In the case of large scale systems, e.g., complex models of regional energy systems, standard analysis becomes challenging. For large scale systems, structural analysis based on directed graphs is an interesting alternative: structural observability (or: controlla-bility) is a necessary requirement for actual observability (or: controllability). Directed graphs can be set up directly for linear models, but can also be extracted from nonlinear models. Modelica is a suitable language for describing large scale models, but does not support graph algorithms. One possibility is to integrate the Modelica model into a language supporting graph algorithms, e.g., Julia: this integration can be done using package OMJulia which works with the free tool OpenModelica. OMJulia does not give direct access to the nonlinear model in Modelica, but a linear model approximation can be extracted and used for setting up the system graph. In this study, an experimental implementation of automated structural analysis is done in Julia using the LightGraphs.jl package. As an example, this structural analysis is tested on hydropower models of different complexity that are modelled in OpenModelica using our in-house hydropower Modelica library — OpenHPL, where different models for hydropower systems are assembled.\",\"PeriodicalId\":179867,\"journal\":{\"name\":\"Proceedings of The 60th SIMS Conference on Simulation and Modelling SIMS 2019, August 12-16, Västerås, Sweden\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-01-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of The 60th SIMS Conference on Simulation and Modelling SIMS 2019, August 12-16, Västerås, Sweden\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.3384/ecp2017017\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of The 60th SIMS Conference on Simulation and Modelling SIMS 2019, August 12-16, Västerås, Sweden","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3384/ecp2017017","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Structural analysis in Julia for dynamic systems in OpenModelica
In control theory for dynamic systems, the information about observability and controllability of states plays a key role to evaluate the possibility to observe states from outputs, and use inputs to move states to a desired position, respectively. Th automatic determination of observability and controllability is possible, in particular for linear models where typically observability and controllability grami-ans are considered. In the case of large scale systems, e.g., complex models of regional energy systems, standard analysis becomes challenging. For large scale systems, structural analysis based on directed graphs is an interesting alternative: structural observability (or: controlla-bility) is a necessary requirement for actual observability (or: controllability). Directed graphs can be set up directly for linear models, but can also be extracted from nonlinear models. Modelica is a suitable language for describing large scale models, but does not support graph algorithms. One possibility is to integrate the Modelica model into a language supporting graph algorithms, e.g., Julia: this integration can be done using package OMJulia which works with the free tool OpenModelica. OMJulia does not give direct access to the nonlinear model in Modelica, but a linear model approximation can be extracted and used for setting up the system graph. In this study, an experimental implementation of automated structural analysis is done in Julia using the LightGraphs.jl package. As an example, this structural analysis is tested on hydropower models of different complexity that are modelled in OpenModelica using our in-house hydropower Modelica library — OpenHPL, where different models for hydropower systems are assembled.