Modelica
1 program
Added 2025-10-30T07:14:46Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 284e3d0124 · authored 2025-10-30T08:14:46+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
7 sources · pl_id:
pl/modelicaWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | declarative language |
|---|---|
| Designed by | Modelica Association Project (MAP) |
| First appeared | 1997 |
| License | CC-BY-SA |
| Homepage | https://www.modelica.org/ |
Extensions claimed by this language
3 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.mo | linguist | primary | 4.0M files |
.mo | pygments | primary | 4.0M files |
.mo | wikipedia | proposed | 4.0M files |
Related languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Simple RC Circuit
Provenance: commit 284e3d0124 · authored 2025-10-30T08:14:46+01:00 · model google/gemini-2.5-pro · Temp 0.4
model RCCircuit "A simple RC circuit"
// The model parameters
parameter Modelica.SIunits.Capacitance C = 1e-3 "Capacitance";
parameter Modelica.SIunits.Resistance R = 1 "Resistance";
parameter Modelica.SIunits.Voltage V = 10 "Voltage of step";
// The model components
Modelica.Electrical.Analog.Basic.Ground ground;
Modelica.Electrical.Analog.Basic.Resistor resistor(R=R);
Modelica.Electrical.Analog.Basic.Capacitor capacitor(C=C);
Modelica.Electrical.Analog.Sources.StepVoltage stepVoltage(V=V);
equation
connect(stepVoltage.p, resistor.p);
connect(resistor.n, capacitor.p);
connect(capacitor.n, ground.p);
connect(ground.p, stepVoltage.n);
end RCCircuit;