modelicat(1)

✨ modelicat β€” the Modelica-to-flat-Modelica glow-up translator ✨

okay so bestie, picture this: you've got Modelica 2.x and you need it flat, and you need it for Xcos. that's literally the whole job. modelicat is the translator that does it. no cap. πŸ¦‹

this one's from the General Commands Manual section, so it's giving classic Unix royalty. πŸ’…


🌸 SYNOPSIS 🌸

modelicat [-lib <filename>] [-o <filename>] [-fundir <dirname>] -command
"command"

yep. that's the whole shape of it. -command is not optional, she's the main character here. πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • -fundir <dirname> β€” points at the directory that's holding your Modelica functions. like, "hey, the functions live here." πŸ—‚οΈ
  • -lib <filename> β€” declares that this file is a Modelica library of classes. basically a "this one's a library, bestie" flag. πŸ“š
  • -o <filename> β€” sets the target filename. and if you don't say anything? default is <instance name>.mo. she'll just name it for you, iconic. ✨
  • -command command β€” defines the component to be created as a regular Modelica component declaration. yes this one is required, no you can't skip it. πŸ™ˆ
  • -xml β€” instead of flat Modelica code, generate an XML version of the model. different vibe, same energy. πŸŽ€
  • -with-init β€” generates an XML version of the initialization problem, dropped into a file named <filename>_init.xml. not me giving you a whole extra file πŸ’€

🫢 AUTHOR 🫢

the manpage was written by Julien Puydt for Debian. absolute legend, we stan. 🌟


ngl bestie, this page is short and sweet, so there's not a lot of lore to spill β€” but every flag above is doing exactly what it says, fr fr. πŸ“

okay that's the tea 🧚 this lil' page is the modelicat(1) manual from November 2017, and the footer would tell you the same thing β€” so consider this your cute little sign-off instead. mwah, go flatten some models πŸ’œ

πŸ“¦ where this page comes from