A. Masoom, Jean Mahseredjian, T. Ould-Bachir, A. Guironnet
{"title":"Electromagnetic Transient Simulation of Large Power Networks with Modelica","authors":"A. Masoom, Jean Mahseredjian, T. Ould-Bachir, A. Guironnet","doi":"10.3384/ecp21181277","DOIUrl":"https://doi.org/10.3384/ecp21181277","url":null,"abstract":"This paper presents the simulation of electromagnetic transients (EMTs) with Modelica. The advantages and disadvantages are discussed. Simulation performance and accuracy are analyzed through the IEEE 118-bus benchmark which includes EMT-detailed models with nonlinearities. The domain-specific simulator EMTP is used for validations and comparisons.","PeriodicalId":129299,"journal":{"name":"Proceedings of 14th Modelica Conference 2021, Linköping, Sweden, September 20-24, 2021","volume":"28 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125235872","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Compile-Time Impulse Analysis in Modelica","authors":"A. Benveniste, B. Caillaud, Mathias Malandain","doi":"10.3384/ecp21181549","DOIUrl":"https://doi.org/10.3384/ecp21181549","url":null,"abstract":"Since its 3.3 release, Modelica offers the possibility to specify models of dynamical systems with multiple modes having different DAE-based dynamics. However, the handling of mode changes by the current Modelica tools is not satisfactory. An important difficulty is the occurrence of impulsive behavior at some mode changes, for some variables. In this paper, we propose a compile-time algorithm for identifying such impulsive behaviors and quantifying them in terms of their magnitude orders. Such algorithm can be used as an additional step of the structural analysis of Modelica models.","PeriodicalId":129299,"journal":{"name":"Proceedings of 14th Modelica Conference 2021, Linköping, Sweden, September 20-24, 2021","volume":"21 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121135554","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Leo Gall, Martin Otter, Matthias Reiner, Matthias Schäfer, Jakub Tobolar
{"title":"Continuous Development and Management of Credible Modelica Models","authors":"Leo Gall, Martin Otter, Matthias Reiner, Matthias Schäfer, Jakub Tobolar","doi":"10.3384/ecp21181359","DOIUrl":"https://doi.org/10.3384/ecp21181359","url":null,"abstract":"","PeriodicalId":129299,"journal":{"name":"Proceedings of 14th Modelica Conference 2021, Linköping, Sweden, September 20-24, 2021","volume":"32 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128095162","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Software Architecture and Implementation of Modelica Buildings Library Coupling for Spawn of EnergyPlus","authors":"Michael Wetter, Kyle Benne, Baptiste Ravache","doi":"10.3384/ecp21181325","DOIUrl":"https://doi.org/10.3384/ecp21181325","url":null,"abstract":"","PeriodicalId":129299,"journal":{"name":"Proceedings of 14th Modelica Conference 2021, Linköping, Sweden, September 20-24, 2021","volume":"13 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129178715","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Handling Multimode Models and Mode Changes in Modelica","authors":"A. Benveniste, B. Caillaud, Mathias Malandain","doi":"10.3384/ecp21181507","DOIUrl":"https://doi.org/10.3384/ecp21181507","url":null,"abstract":"Since its version 3.3, the Modelica language offers the possibility to model multimode systems having different DAE-based dynamics in each mode, thanks to the introduction of state machines. When the differentiation index and structure varies with mode changes, compilers generate erroneous simulation code, often resulting in runtime exceptions. We propose in this paper a multimode structural analysis for both multiple modes and mode change events and we show how correct code for restarts can be generated. Our approach is illustrated on two simple but representative mechanical systems.","PeriodicalId":129299,"journal":{"name":"Proceedings of 14th Modelica Conference 2021, Linköping, Sweden, September 20-24, 2021","volume":"76 2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116849092","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A Reduced Index Mode-Independent Structure Model Transformation for Multimode Modelica Models","authors":"B. Caillaud, Mathias Malandain, A. Benveniste","doi":"10.3384/ecp21181519","DOIUrl":"https://doi.org/10.3384/ecp21181519","url":null,"abstract":"Since its 3.3 release, Modelica offers the possibility to specify models of dynamical systems with multiple modes having different DAE-based dynamics. However, the handling of such models by the current Modelica tools is not satisfactory, with mathematically sound models yielding exceptions at runtime. In this article, we propose a systematic way of rewriting a multimode Modelica model, based on the results of an already implemented multimode structural analysis. The rewritten Modelica model is guaranteed to be correctly compiled by state-of-the-art Modelica tools. Simulation results are presented on a simple, yet meaningful, physical system whose original Modelica model is not correctly handled by state-of-the-art Modelica tools.","PeriodicalId":129299,"journal":{"name":"Proceedings of 14th Modelica Conference 2021, Linköping, Sweden, September 20-24, 2021","volume":"9 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131695694","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}