Skip to content
Preview.sedml@modelscript/sedml 10 diagnostic rules
Parser WASM GLR
Diagnostics 10 rules
DAE Arena Lowering
Simulation Native Solvers
Projections SBML, Modelica
Live ExampleGlycolysisExperiment.sedml

SED-ML Level 1 Version 4 Reproducible Time-Course Protocol

Simulation Experiment Description Markup Language protocol binding KiSAO:0000019 (CVODE) to an SBML pathway model.

Playground
Source (14 lines)
1<?xml version="1.0" encoding="UTF-8"?>
2<sedML xmlns="http://sed-ml.org/sed-ml/level1/version4" level="1" version="4">
3  <listOfModels>
4    <model id="model_glycolysis" language="urn:sedml:language:sbml" source="EnzymeFeedbackPathway.sbml"/>
5  </listOfModels>
6  <listOfSimulations>
7    <uniformTimeCourse id="sim_timecourse" initialTime="0.0" outputStartTime="0.0" outputEndTime="120.0" numberOfSteps="600">
8      <algorithm kisaoID="KISAO:0000019"/>
9    </uniformTimeCourse>
10  </listOfSimulations>
11  <listOfTasks>
12    <task id="task_baseline" modelReference="model_glycolysis" simulationReference="sim_timecourse"/>
13  </listOfTasks>
14</sedML>
SED-ML Simulation Experiment Workflow
modelRef simulationRef «sedml:model» model_glycolysis «parameters» urn:sedml:language:sbml EnzymeFeedbackPathway «uniformtimecourse» sim_timecourse «model» KISAO:0000019 (CVODE) t = 0..120 (600 steps) «sedml:task» task_baseline «verification» DataGenerators Reproducible Plot2D
Drag to pan · Click % to reset

COMBINE SED-ML Simulation Experiments (.sedml) ​

@modelscript/sedml (languages/sedml) provides native WebAssembly parsing, KiSAO solver algorithm validation, multi-task simulation protocol execution (UniformTimeCourse, OneStep, SteadyState, RepeatedTask), DataGenerator post-processing, DAEBuilder lowering, and Modelica experiment projection for Simulation Experiment Description Markup Language (SED-ML Level 1 Version 3/4) reproducible simulation studies.


Supported Extensions & Standards ​

ExtensionFormatDescription
.sedml, .xmlCOMBINE SED-MLXML specification of listOfModels, listOfSimulations, listOfTasks, listOfDataGenerators, and listOfOutputs

Key Capabilities ​

1. Reproducible Simulation Protocols & KiSAO Solvers ​

  • Parses SED-ML elements:
    • Models & Changes (model, changeAttribute, computeChange): Base model references (SBML, CellML, Modelica) and parameter overrides.
    • Simulations (uniformTimeCourse, oneStep, steadyState): Initial time, output start/end times, number of points, and KiSAO algorithm identifiers (KISAO:0000019 CVODE, KISAO:0000032 RK4, KISAO:0000029 Gillespie SSA).
    • Tasks & Data Generators (task, repeatedTask, dataGenerator): MathML/infix normalization and scaling of raw simulation variables for plot2D, plot3D, and report outputs.

2. Protocol Execution & Modelica Experiment Projection ​

  • Executes time-course and parameter-sweep tasks (executeSedml), lowers the experiment schedule into @modelscript/runtime's DAEBuilder arena, and generates Modelica models annotated with annotation(experiment(StartTime=..., StopTime=..., NumberOfIntervals=..., Tolerance=...)) (sedmlToModelica).

Pre-Flight Diagnostics ​

10 rules8 error2 warning

CodeRuleSeverityMessage
M9151invalid-time-course-boundserrorUniformTimeCourse simulation '<simId>' defines invalid time course bounds ('<details>').
M9152invalid-kisao-iderrorSimulation '<simId>' specifies missing or malformed algorithm KiSAO identifier '<kisaoId>'; expected 'KISAO:xxxxxxx'.
M9153unresolved-model-referenceerrorSED-ML element '<ownerId>' references undefined model '<modelRef>'.
M9154unresolved-simulation-referenceerrorTask '<taskId>' references undefined simulation '<simRef>'.
M9155unresolved-task-referenceerrorSED-ML variable or subTask in '<ownerId>' references undefined task '<taskRef>'.
M9156unresolved-data-generator-referenceerrorOutput '<outputId>' element '<itemId>' references undefined dataGenerator '<dataGenRef>'.
M9157circular-model-sourceerrorModel '<modelId>' source reference chain '<chain>' forms a circular dependency.
M9158undefined-data-generator-math-variablewarningDataGenerator '<dataGenId>' math expression references identifier '<symbolName>' not declared in listOfVariables or listOfParameters.
M9159empty-sedml-experimentwarningSED-ML document defines an empty experiment with no simulations or tasks.
M9160duplicate-sedml-iderrorSED-ML identifier '<id>' on '<elementKind>' is declared multiple times within the document.

Generated from languages/sedml/src/errors.ts. All languages →


CLI Usage ​

bash
# Validate time-course bounds, KiSAO IDs, and model/task/dataGenerator references
msx lint OscillatoryProtocol.sedml

# Parse and inspect SED-ML simulation experiment definitions
msx parse OscillatoryProtocol.sedml

Open-Core under the GNU AGPL v3 License; Enterprise Edition (ee/) under the ModelScript Enterprise License. • Pricing • Trademark Policy