classReleaseNotes

Extends from Modelica.Icons.ReleaseNotes (Icon for release notes in documentation).

Information

Version 26.11
  • Machine-generated drug models removed. The models generated in 06/2025 (one per ATC code, parameters written by an LLM with no reviewed source) are gone: 5,684 models and the 5,466 ATC packages they left empty. Kept: models hand-tuned or revised by a person (Allopurinol, Caffeine, Digoxin_1, Digoxin_IV, Fluorouracil, Ibuprofen, Lithium, NitricOxide_1C, Nirsevimab_IM, Propofol) and every hand-written model. This is not converted: a model that extends a removed Drugs class has no replacement; release v26.03 (library version 25.09) is the last one that contains them.
  • Models extracted from papers, for 377 drugs: 396 PK, 278 PD and 1 PGx model, built by pharmacolibrary-dev from population-PK and PD papers and accepted by its automatic reviewer (the model reproduces the paper's reference values; not checked by a person). {Drug} is the default: an alias of the preferred extracted model (316 drugs).
  • NonDrugs.T_toxic_hazardous: 188 toxicokinetic and 2 toxicodynamic models for 65 substances of the toxin knowledge base, most of them retention functions (Pharmacokinetic.Models.TK_Retention).
  • A drug whose ATC code had no package gets one ({code}_{Drug}); the ATC tree holds only packages with a model: 123 level-3 and 453 level-5 packages.
  • Resources/Models/index.csv lists every extracted model: class, kind, template, source paper (DOI, PMID), review status and its page on the documentation site.
  • Examples: Paracetamol_Experiment uses Paracetamol_Langeskov2022_reference with an explicit dose (3 x 1000 mg); ExplanationComponents and ExplanationComponents2 declare their parameters.
  • Tested in OpenModelica 1.26.3: every model of Examples, Drugs and NonDrugs passes the check, and the extracted PK models reproduce the reference peaks of the pipeline's simulation.
  • Drugs.ATC and Drugs.Common removed. Each generated model Drugs.ATC.{L1}.{code} was folded into its model in the ATC packages (Drugs.{L1}_….{L3}_….{code}_{Drug}.{Drug}), which now extends the Pharmacokinetic template directly; models that modified the ATC model keep their own values.
  • A model extending Drugs.ATC.… is converted on load (Resources/Scripts/Conversion/ConvertFromPharmacolibrary_25.09.mos) when its drug still has a model. Drugs.Common.DrugData (molecular data) has no replacement: models set the molar mass as a parameter.
  • Examples that extended Drugs.ATC models extend the template with the same values.
  • Drugs.Substances: one package of constants per drug (4,013): name, own ATC codes, DrugBank / PubChem / ChEBI / Wikidata ids, formula, molar mass (PubChem), logP and the metabolites of its extracted models (e.g. Substances.Clopidogrel.ClopidogrelH4.M), with a short summary of the drug. Interfaces.PartialSubstance / PartialMetabolite define the constants.
  • Paracetamol_healthy: molar mass is a parameter (it read a field the record did not have).
  • DevModels not in the release. The work-in-progress package DevModels (40 of its 67 models do not pass checkModel) stays on the main branch of the repository and is left out of released versions. Not converted. The 24 editor backup files (.bak-mo) in Examples are removed.
    Version 25.08-beta1
    • generated models of all drugs in Drugs.ATC
    • tested in OpenModelica 1.25 and Dymola 2025
    • added example of PKPD integrated with Physiolibrary 3.0.0
    • added example of PGx with various combination of pharmacogene mutation and it's influence on PK
    Version 25.05-beta.3
    • Introduction of first version