From bfba92a605c3937ac49dd0dbef3bee8459814fbb Mon Sep 17 00:00:00 2001 From: KV Date: Thu, 19 Jan 2023 17:49:10 +0100 Subject: [PATCH 01/10] Bump version to a -dev prerelease in the dev branch --- VirtualFCS/package.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VirtualFCS/package.mo b/VirtualFCS/package.mo index 3acc732..6ae0689 100644 --- a/VirtualFCS/package.mo +++ b/VirtualFCS/package.mo @@ -3,7 +3,7 @@ package VirtualFCS "VirtualFCS - VIRTUAL & physical platform for Fuel Cell Syste // import Annex60; annotation( preferredView="info", - version="2.0.0", + version="2.1.0-dev", versionDate="2023-01-19", uses(Modelica(version = "4.0.0"), Modelica_DeviceDrivers(version= "2.1.1")), Icon(graphics = {Rectangle(fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, 100}, {100, -100}}), Bitmap(origin = {-1, 0}, extent = {{-99, -100}, {99, 100}}, fileName = "modelica://VirtualFCS/Resources/images/virtual-fcs-logo-emblem.png")}), From 0ddb96d77434bab0f47871a4f772c82190df7492 Mon Sep 17 00:00:00 2001 From: KV Date: Fri, 20 Jan 2023 11:02:00 +0100 Subject: [PATCH 02/10] Remove outdated version info from library Documentation annotation This initial documentation section has been unchanged since v0.1.0 and has been outdated in all later versions. Version information is now present as library annotation parameters that OMEdit shows in the Documentation Browser for all documentation pages of this library, and therefore not needed as text in the documentation. --- VirtualFCS/package.mo | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/VirtualFCS/package.mo b/VirtualFCS/package.mo index 6ae0689..24d57a4 100644 --- a/VirtualFCS/package.mo +++ b/VirtualFCS/package.mo @@ -7,5 +7,11 @@ package VirtualFCS "VirtualFCS - VIRTUAL & physical platform for Fuel Cell Syste versionDate="2023-01-19", uses(Modelica(version = "4.0.0"), Modelica_DeviceDrivers(version= "2.1.1")), Icon(graphics = {Rectangle(fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, 100}, {100, -100}}), Bitmap(origin = {-1, 0}, extent = {{-99, -100}, {99, 100}}, fileName = "modelica://VirtualFCS/Resources/images/virtual-fcs-logo-emblem.png")}), - Documentation(info = "
Version
0.1.0 (30.06.2021)

Overview
VirtualFCS is a Modelica library to model hybrid proton exchange membrane fuel cell (PEMFC) & battery electric vehicles. The library provides classes describing:
  • Electrochemical power sources including PEM fuel cells, PEM fuel cell stacks, Li-ion battery cells, and Li-ion battery packs.
  • Fuel cell sub-systems including hydrogen, air, and cooling
  • Balance of plant (BoP) components
  • Control algorithms for energy, fuel cell, and battery management, as well as BoP control.
  • Standard vehicle drive cycles including the New European Drive Cycle (NEDC) and Worldwide Harmonized Light-duty Vehicles Test Cycles (WLTC)
The VirtualFCS library is composed of 8 main sub-packages: Control, Electrical, Electrochemical, Examples, Fluid, Thermal, Vehicles, and XInTheLoop.




Development 
The Virtual-FCS project is supported by the European Union's H2020 research and innovation program and runs from Jan 2020 to Dec 2022. The repository was first opened to the public on April 22, 2021 (Earth Day) with the first minor release with documentation on 30.06.2021. Regular updates are planned every 3 months until Dec 2022.

Contributors (in alphabetical order)
Dr. Simon Clark, SINTEF Industry, Trondheim, Norway
Dr. Michael R. Gerhardt SINTEF Indsutry, Trondheim, Norway
Amelie Pinard, SINTEF Industry, Trondheim, Norway
Dr. Roberto Scipioni, SINTEF Industr,y Trondheim, Norway
Dr. Nadia Steiner UBFC, Belfort, France
Dr. Yash Raka, SINTEF Industry, Trondheim, Norway
Dr. Loic Vichard, UBFC, Belfort, France

Contact
www.virtual-fcs.eu

Funding
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 875087. Programme: H2020-EU.3.4.6.1. - Reduce the production cost of fuel cell systems to be used in transportation applications, while increasing their lifetime to levels which can compete with conventional technologies. Topic: FCH-01-3-2019 - Cyber-physical platform for hybrid Fuel Cell Systems.


")); + Documentation(info = " +
Overview
VirtualFCS is a Modelica library to model hybrid proton exchange membrane fuel cell (PEMFC) & battery electric vehicles. The library provides classes describing:
  • Electrochemical power sources including PEM fuel cells, PEM fuel cell stacks, Li-ion battery cells, and Li-ion battery packs.
  • Fuel cell sub-systems including hydrogen, air, and cooling
  • Balance of plant (BoP) components
  • Control algorithms for energy, fuel cell, and battery management, as well as BoP control.
  • Standard vehicle drive cycles including the New European Drive Cycle (NEDC) and Worldwide Harmonized Light-duty Vehicles Test Cycles (WLTC)
The VirtualFCS library is composed of 8 main sub-packages: Control, Electrical, Electrochemical, Examples, Fluid, Thermal, Vehicles, and XInTheLoop.




+
Development 
The Virtual-FCS project is supported by the European Union's H2020 research and innovation program and runs from Jan 2020 to Dec 2022. The repository was first opened to the public on April 22, 2021 (Earth Day) with the first minor release with documentation on 30.06.2021. Regular updates are planned every 3 months until Dec 2022.

+ Contributors (in alphabetical order)
Dr. Simon Clark, SINTEF Industry, Trondheim, Norway
Dr. Michael R. Gerhardt SINTEF Indsutry, Trondheim, Norway
Amelie Pinard, SINTEF Industry, Trondheim, Norway
Dr. Roberto Scipioni, SINTEF Industr,y Trondheim, Norway
Dr. Nadia Steiner UBFC, Belfort, France
Dr. Yash Raka, SINTEF Industry, Trondheim, Norway
Dr. Loic Vichard, UBFC, Belfort, France

+
Contact
www.virtual-fcs.eu

+
Funding
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 875087. Programme: H2020-EU.3.4.6.1. - Reduce the production cost of fuel cell systems to be used in transportation applications, while increasing their lifetime to levels which can compete with conventional technologies. Topic: FCH-01-3-2019 - Cyber-physical platform for hybrid Fuel Cell Systems.

+

")); end VirtualFCS; From 359efdfea70c5d592c3720d66543e678a16ca105 Mon Sep 17 00:00:00 2001 From: KV Date: Fri, 20 Jan 2023 11:34:00 +0100 Subject: [PATCH 03/10] Move DocumentationClass parameter into annotations The DocumentationClass parameter was inserted into Documentation by a mistake. Moved to the outer annotation scope to have any effect. --- VirtualFCS/UsersGuide/ReleaseNotes/package.mo | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/VirtualFCS/UsersGuide/ReleaseNotes/package.mo b/VirtualFCS/UsersGuide/ReleaseNotes/package.mo index 092d0b9..62d685b 100644 --- a/VirtualFCS/UsersGuide/ReleaseNotes/package.mo +++ b/VirtualFCS/UsersGuide/ReleaseNotes/package.mo @@ -3,9 +3,8 @@ within VirtualFCS.UsersGuide; package ReleaseNotes extends Modelica.Icons.ReleaseNotes; annotation( - Documentation( DocumentationClass=true, - info = " + Documentation(info = " From 796e05e3aad28c1aa9f830f867f923db398bd901 Mon Sep 17 00:00:00 2001 From: KV Date: Fri, 20 Jan 2023 14:27:00 +0100 Subject: [PATCH 04/10] Use Record instead of RecordsPackage as icon for EVDriveData --- VirtualFCS/Utilities/ParameterRecords/EVDriveData.mo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VirtualFCS/Utilities/ParameterRecords/EVDriveData.mo b/VirtualFCS/Utilities/ParameterRecords/EVDriveData.mo index 6425780..cee3297 100644 --- a/VirtualFCS/Utilities/ParameterRecords/EVDriveData.mo +++ b/VirtualFCS/Utilities/ParameterRecords/EVDriveData.mo @@ -1,7 +1,7 @@ within VirtualFCS.Utilities.ParameterRecords; record EVDriveData - extends Modelica.Icons.RecordsPackage; + extends Modelica.Icons.Record; import Modelica.Electrical.Machines.Thermal.convertResistance; //Motor parameter Modelica.Units.SI.Resistance Ra = convertResistance(motorData.Ra, motorData.TaRef, motorData.alpha20a, motorData.TaNominal) "Armature resistance at nominal temperature" annotation( @@ -69,4 +69,4 @@ Calculates controller parameters of a DC permanent magnet drive: Current controller according to absolute optimum, speed controller according to symmetric optimum.

")); -end EVDriveData; \ No newline at end of file +end EVDriveData; From 4f7ade7f61e13d89450757da1210e3a248d79d2d Mon Sep 17 00:00:00 2001 From: KV Date: Wed, 8 Feb 2023 14:27:16 +0100 Subject: [PATCH 05/10] Updated copyright year range The outdated year was commented by @benjamsy in a review. Co-authored-by: benjamsy --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index fbabf48..a7d1f39 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Virtual-FCS H2020 +Copyright (c) 2021-2023 Virtual-FCS H2020 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 16248e03143087972af9848355b1268be60b4225 Mon Sep 17 00:00:00 2001 From: KV Date: Tue, 14 Feb 2023 13:24:09 +0100 Subject: [PATCH 06/10] Add release notes for v0.2.0 and v0.2.1 --- .../UsersGuide/ReleaseNotes/Version_0_2_0.mo | 29 +++++++++++++++++++ .../UsersGuide/ReleaseNotes/Version_0_2_1.mo | 15 ++++++++++ VirtualFCS/UsersGuide/ReleaseNotes/package.mo | 4 +-- .../UsersGuide/ReleaseNotes/package.order | 2 ++ 4 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 VirtualFCS/UsersGuide/ReleaseNotes/Version_0_2_0.mo create mode 100644 VirtualFCS/UsersGuide/ReleaseNotes/Version_0_2_1.mo diff --git a/VirtualFCS/UsersGuide/ReleaseNotes/Version_0_2_0.mo b/VirtualFCS/UsersGuide/ReleaseNotes/Version_0_2_0.mo new file mode 100644 index 0000000..6d77184 --- /dev/null +++ b/VirtualFCS/UsersGuide/ReleaseNotes/Version_0_2_0.mo @@ -0,0 +1,29 @@ +within VirtualFCS.UsersGuide.ReleaseNotes; + +class Version_0_2_0 + extends Modelica.Icons.ReleaseNotes; + annotation( + Documentation(info = " +

What's Changed

+
+

+ +")); +end Version_0_2_0; diff --git a/VirtualFCS/UsersGuide/ReleaseNotes/Version_0_2_1.mo b/VirtualFCS/UsersGuide/ReleaseNotes/Version_0_2_1.mo new file mode 100644 index 0000000..4292309 --- /dev/null +++ b/VirtualFCS/UsersGuide/ReleaseNotes/Version_0_2_1.mo @@ -0,0 +1,15 @@ +within VirtualFCS.UsersGuide.ReleaseNotes; + +model Version_0_2_1 + extends Modelica.Icons.ReleaseNotes; + annotation( + Documentation(info = " +

What's Changed

+
    +
  • Fixed bug in heat generation term by @mikegerhardt in PR #9
  • +
  • Minor documentation edits
  • +
+

+ +")); +end Version_0_2_1; diff --git a/VirtualFCS/UsersGuide/ReleaseNotes/package.mo b/VirtualFCS/UsersGuide/ReleaseNotes/package.mo index 62d685b..27eb222 100644 --- a/VirtualFCS/UsersGuide/ReleaseNotes/package.mo +++ b/VirtualFCS/UsersGuide/ReleaseNotes/package.mo @@ -8,8 +8,8 @@ package ReleaseNotes
Version 2.0.02023-01-19
Version 2022.1.0-beta2022-02-16
- - + +
Version 2.0.02023-01-19
Version 2022.1.0-beta2022-02-16
Version 0.2.1-beta2021-12-15
Version 0.2.0-beta2021-09-22
Version 0.2.1-beta2021-12-15
Version 0.2.0-beta2021-09-22
Version 0.1.0-beta2021-07-01
")); diff --git a/VirtualFCS/UsersGuide/ReleaseNotes/package.order b/VirtualFCS/UsersGuide/ReleaseNotes/package.order index 85ab7fa..b570a82 100644 --- a/VirtualFCS/UsersGuide/ReleaseNotes/package.order +++ b/VirtualFCS/UsersGuide/ReleaseNotes/package.order @@ -1,3 +1,5 @@ Version_2_0_0 Version_2022_1_0 +Version_0_2_1 +Version_0_2_0 Version_0_1_0 From 1fdd428db2d8e3448f33e6a3f16ce676b35c9fe6 Mon Sep 17 00:00:00 2001 From: KV Date: Tue, 14 Feb 2023 13:32:41 +0100 Subject: [PATCH 07/10] Add minor whitespace --- VirtualFCS/UsersGuide/ReleaseNotes/package.mo | 2 +- VirtualFCS/package.mo | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VirtualFCS/UsersGuide/ReleaseNotes/package.mo b/VirtualFCS/UsersGuide/ReleaseNotes/package.mo index 27eb222..84c23d0 100644 --- a/VirtualFCS/UsersGuide/ReleaseNotes/package.mo +++ b/VirtualFCS/UsersGuide/ReleaseNotes/package.mo @@ -3,7 +3,7 @@ within VirtualFCS.UsersGuide; package ReleaseNotes extends Modelica.Icons.ReleaseNotes; annotation( - DocumentationClass=true, + DocumentationClass = true, Documentation(info = " diff --git a/VirtualFCS/package.mo b/VirtualFCS/package.mo index 24d57a4..926c48f 100644 --- a/VirtualFCS/package.mo +++ b/VirtualFCS/package.mo @@ -2,10 +2,10 @@ package VirtualFCS "VirtualFCS - VIRTUAL & physical platform for Fuel Cell Syste extends Modelica.Icons.Package; // import Annex60; annotation( - preferredView="info", - version="2.1.0-dev", - versionDate="2023-01-19", - uses(Modelica(version = "4.0.0"), Modelica_DeviceDrivers(version= "2.1.1")), + preferredView = "info", + version = "2.1.0-dev", + versionDate = "2023-01-19", + uses(Modelica(version = "4.0.0"), Modelica_DeviceDrivers(version = "2.1.1")), Icon(graphics = {Rectangle(fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-100, 100}, {100, -100}}), Bitmap(origin = {-1, 0}, extent = {{-99, -100}, {99, 100}}, fileName = "modelica://VirtualFCS/Resources/images/virtual-fcs-logo-emblem.png")}), Documentation(info = "
Overview
VirtualFCS is a Modelica library to model hybrid proton exchange membrane fuel cell (PEMFC) & battery electric vehicles. The library provides classes describing:
  • Electrochemical power sources including PEM fuel cells, PEM fuel cell stacks, Li-ion battery cells, and Li-ion battery packs.
  • Fuel cell sub-systems including hydrogen, air, and cooling
  • Balance of plant (BoP) components
  • Control algorithms for energy, fuel cell, and battery management, as well as BoP control.
  • Standard vehicle drive cycles including the New European Drive Cycle (NEDC) and Worldwide Harmonized Light-duty Vehicles Test Cycles (WLTC)
The VirtualFCS library is composed of 8 main sub-packages: Control, Electrical, Electrochemical, Examples, Fluid, Thermal, Vehicles, and XInTheLoop.




From 197c552b80bda872c5243001cf97c7da0bc6f249 Mon Sep 17 00:00:00 2001 From: KV Date: Wed, 15 Feb 2023 11:26:19 +0100 Subject: [PATCH 08/10] Move DocumentationClass specifyer to UsersGuide Specifying this as true at the UsersGuide top level will make "info" the preferred view for all subpages under UsersGuide. --- VirtualFCS/UsersGuide/ReleaseNotes/package.mo | 1 - VirtualFCS/UsersGuide/package.mo | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/VirtualFCS/UsersGuide/ReleaseNotes/package.mo b/VirtualFCS/UsersGuide/ReleaseNotes/package.mo index 84c23d0..bfe3a07 100644 --- a/VirtualFCS/UsersGuide/ReleaseNotes/package.mo +++ b/VirtualFCS/UsersGuide/ReleaseNotes/package.mo @@ -3,7 +3,6 @@ within VirtualFCS.UsersGuide; package ReleaseNotes extends Modelica.Icons.ReleaseNotes; annotation( - DocumentationClass = true, Documentation(info = "
Version 2.0.02023-01-19
diff --git a/VirtualFCS/UsersGuide/package.mo b/VirtualFCS/UsersGuide/package.mo index 72863ea..046ecf3 100644 --- a/VirtualFCS/UsersGuide/package.mo +++ b/VirtualFCS/UsersGuide/package.mo @@ -3,6 +3,7 @@ within VirtualFCS; package UsersGuide "User information for the VirtualFCS library" extends Modelica.Icons.Information; annotation( + DocumentationClass = true, Documentation(info = "

The VirtualFCS library is a free open-source library for modeling hydrogen fuel cell power systems. The models developed in the library are based on the Modelica standard library, and adhere to the proper conventions to support compatibility and interoperability with other libraries. The library is developed through the research project Virtual-FCS, funded by the European Union (see Acknowledgements for more information). The webpage for the project is www.virtual-fcs.eu

The source code for the library is hosted on GitHub (https://github.com/Virtual-FCS). The developers welcome contributions from the fuel cell and modelling communities to support the development, adoption, and improvement of the library. For information on how to contribute, please see the guidelines posted in the GitHub repository. 

General information and training materials can be found on the project website. Dedicated User Guides for the main sub-packages are listed below and accessible via hyperlink.


Version 2.0.02023-01-19
From 796c67039a603bb6ac3b41289c1e0d1f32d44d78 Mon Sep 17 00:00:00 2001 From: KV Date: Fri, 24 Mar 2023 12:02:33 +0100 Subject: [PATCH 09/10] Add badges to README (#44) The main purpose is to make it easier for library users to find the DOI they should use when citing this library. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 2d9cb2a..454d77e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,26 @@ # VirtualFCS Library VirtualFCS is a Modelica library for fuel cell system modelling developed through the EU H2020 research project Virtual-FCS. +[![2023: v2.0.0](https://img.shields.io/badge/Release-2023%3A%20v2.0.0-blue)![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7552220.svg)](https://doi.org/10.5281/zenodo.7552220) +[![OpenModelica v1.20 win64](https://img.shields.io/badge/OpenModelica-v1.20%20win64-blue)](https://openmodelica.org/) + +Note that this library might also work with other platforms that win64, but that is not tested during development. + +
+Citing other library versions + +Note that library versions older than v2.0.0 requires OpenModelica v1.14. + +| Released | Version | DOI | +|------------|---------------|-----| +| 2023-01-19 | v2.0.0 | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7552220.svg)](https://doi.org/10.5281/zenodo.7552220) | +| 2022-02-16 | v2022.1.0-beta| [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6104901.svg)](https://doi.org/10.5281/zenodo.6104901) | +| 2021-12-15 | v0.2.1-beta | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7566040.svg)](https://doi.org/10.5281/zenodo.7566040) | +| 2021-09-22 | v0.2.0-beta | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7566037.svg)](https://doi.org/10.5281/zenodo.7566037) | +| 2021-07-01 | v0.1.0-beta | | + +
+ ## Library Description The objective of the complete hybrid system model is to reproduce and simulate the dynamic behavior of all the components according to the desired architecture. Depending on the possibilities, degradation mechanisms of the components will be considered in order to predict the performance losses of the entire system. From e9e9d2a10836d44e84d353ba728d1a94a7ae774c Mon Sep 17 00:00:00 2001 From: "Benjamin.synnevag" Date: Tue, 23 Sep 2025 12:50:31 +0200 Subject: [PATCH 10/10] Updated readme and autogenerated documentation - Updated readme - Updated autogenerated docs folder --- README.md | 8 + docs/GenerateDoc.mos | 2 +- docs/Tidy.py | 130 +- ...omponentTesting.CompressorTest.Medium.html | 10 + ...alFCS.ComponentTesting.CompressorTest.html | 10 + ...FCS.ComponentTesting.DC_converterTest.html | 8 + ...ComponentTesting.HeatSinkTest.Medium.html} | 16 +- ...tualFCS.ComponentTesting.HeatSinkTest.html | 10 + ...ComponentTesting.PreHeaterTest.Medium.html | 10 + ...ualFCS.ComponentTesting.PreHeaterTest.html | 10 + ...tTesting.PressureRegulatorTest.Medium.html | 10 + ...omponentTesting.PressureRegulatorTest.html | 10 + ...sting.PressureRegulatorTest_v2.Medium.html | 10 + ...onentTesting.PressureRegulatorTest_v2.html | 10 + ...nentTesting.PumpElectricDCTest.Medium.html | 10 + ...S.ComponentTesting.PumpElectricDCTest.html | 10 + ...esting.RecirculationBlowerTest.Medium.html | 10 + ...ponentTesting.RecirculationBlowerTest.html | 10 + ...tTesting.SubSystemHydrogenControlTest.html | 8 + ...onentTesting.ThrottleValveTest.Medium.html | 10 + ...CS.ComponentTesting.ThrottleValveTest.html | 10 + docs/VirtualFCS.ComponentTesting.html | 19 + ...alFCS.Control.BatteryManagementSystem.html | 14 +- docs/VirtualFCS.Control.ChargeCounter.html | 14 +- ...FCS.Control.DCMotorControlCompressor.html} | 23 +- ....Control.DCMotorControlPumpElectricDC.html | 19 + ...rol.DCMotorControlRecirculationBlower.html | 19 + docs/VirtualFCS.Control.EMS_FC.html | 8 + ...ualFCS.Control.EnergyManagementSystem.html | 14 +- ...tualFCS.Control.FuelCellSystemControl.html | 14 +- docs/VirtualFCS.Control.PumpSpeedControl.html | 16 +- ...alFCS.Control.PumpSpeedControlCooling.html | 8 + .../VirtualFCS.Control.PurgeValveControl.html | 17 +- docs/VirtualFCS.Control.UsersGuide.html | 14 +- docs/VirtualFCS.Control.VoltageLimiter.html | 16 +- docs/VirtualFCS.Control.html | 28 +- docs/VirtualFCS.Electrical.DCConverter.html | 21 + ...rtualFCS.Electrical.DCConverterSwitch.html | 21 + ...VirtualFCS.Electrical.DC_DC_Converter.html | 21 + docs/VirtualFCS.Electrical.DC_converter.html | 14 +- ...FCS.Electrical.SpeedControlledDCMotor.html | 8 + docs/VirtualFCS.Electrical.UsersGuide.html | 14 +- docs/VirtualFCS.Electrical.html | 18 +- ...Electrochemical.Battery.BatterySystem.html | 678 ++++++++ ...al.Battery.LiIonBatteryPack_Composite.html | 48 +- ...mical.Battery.LiIonBatteryPack_Lumped.html | 84 +- ...FCS.Electrochemical.Battery.LiIonCell.html | 111 +- ...ttery.Parameters.Functions.getOCP_NMC.html | 16 +- ...chemical.Battery.Parameters.Functions.html | 14 +- ...CS.Electrochemical.Battery.Parameters.html | 16 +- docs/VirtualFCS.Electrochemical.Battery.html | 34 +- ...emical.Hydrogen.FuelCell.Anode_Medium.html | 14 +- ...ical.Hydrogen.FuelCell.Cathode_Medium.html | 14 +- ...ical.Hydrogen.FuelCell.Coolant_Medium.html | 14 +- ...FCS.Electrochemical.Hydrogen.FuelCell.html | 101 +- ...l.Hydrogen.FuelCellStack.Anode_Medium.html | 14 +- ...Hydrogen.FuelCellStack.Cathode_Medium.html | 14 +- ...Hydrogen.FuelCellStack.Coolant_Medium.html | 14 +- ...lectrochemical.Hydrogen.FuelCellStack.html | 113 +- ...ectrochemical.Hydrogen.FuelCellSystem.html | 9 + docs/VirtualFCS.Electrochemical.Hydrogen.html | 21 +- ...VirtualFCS.Electrochemical.UsersGuide.html | 26 +- docs/VirtualFCS.Electrochemical.html | 14 +- ...alFCS.Examples.CycleBatterPack_Lumped.html | 8 - .../VirtualFCS.Examples.CycleBatteryCell.html | 8 - ...S.Examples.CycleBatteryPack_Composite.html | 8 - ...rochemicalComponents.CycleBatteryCell.html | 8 + ...Components.CycleBatteryPack_Composite.html | 8 + ...calComponents.CycleBatteryPack_Lumped.html | 8 + ...s.PolarizeFuelCellStack.Anode_Medium.html} | 16 +- ....PolarizeFuelCellStack.Cathode_Medium.html | 10 + ....PolarizeFuelCellStack.Coolant_Medium.html | 10 + ...micalComponents.PolarizeFuelCellStack.html | 12 + ...CS.Examples.ElectrochemicalComponents.html | 13 + ...ualFCS.Examples.PolarizeFuelCellStack.html | 12 - ...imeExamples.CycleBatteryCell_RealTime.html | 8 + ...Examples.CycleBatteryCell_UserControl.html | 8 + ...les.RealTimeExamples.TestThrottleKeys.html | 8 + .../VirtualFCS.Examples.RealTimeExamples.html | 12 + ...ystemExamples.TestAirSubsystem.Medium.html | 10 + ...es.SubsystemExamples.TestAirSubsystem.html | 14 + ...mExamples.TestCoolingSubsystem.Medium.html | 10 + ...ubsystemExamples.TestCoolingSubsystem.html | 1363 ++++++++++++++++ ...es.TestHydrogenSubsystem.Anode_Medium.html | 10 + ...bsystemExamples.TestHydrogenSubsystem.html | 733 +++++++++ ...VirtualFCS.Examples.SubsystemExamples.html | 12 + ...lFCS.Examples.TestAirSubsystem.Medium.html | 10 - .../VirtualFCS.Examples.TestAirSubsystem.html | 10 - ...tualFCS.Examples.TestCoolingSubsystem.html | 10 - ...ualFCS.Examples.TestHydrogenSubsystem.html | 10 - .../VirtualFCS.Examples.TestThrottleKeys.html | 8 - ...ehicleExamples.BatteryElectricVehicle.html | 8 + ...atteryElectricVehicle_JoystickControl.html | 8 + ...leExamples.RangeExtenderHybridVehicle.html | 8 + docs/VirtualFCS.Examples.VehicleExamples.html | 12 + ...tualFCS.Examples.VehicleRangeExtender.html | 8 - docs/VirtualFCS.Examples.html | 27 +- docs/VirtualFCS.Fluid.Compressor.Medium.html | 16 +- docs/VirtualFCS.Fluid.Compressor.html | 16 +- ...ualFCS.Fluid.PressureRegulator.Medium.html | 16 +- docs/VirtualFCS.Fluid.PressureRegulator.html | 14 +- ...irtualFCS.Fluid.PumpElectricDC.Medium.html | 14 +- docs/VirtualFCS.Fluid.PumpElectricDC.html | 692 +++++++- ...lFCS.Fluid.RecirculationBlower.Medium.html | 16 +- .../VirtualFCS.Fluid.RecirculationBlower.html | 16 +- ...VirtualFCS.Fluid.ThrottleValve.Medium.html | 16 +- docs/VirtualFCS.Fluid.ThrottleValve.html | 16 +- docs/VirtualFCS.Fluid.UsersGuide.html | 26 +- docs/VirtualFCS.Fluid.html | 18 +- ...tualFCS.Powertrains.BatteryPowerTrain.html | 8 + ....Powertrains.ParallelHybridPowerTrain.html | 8 + ...S.Powertrains.RangeExtenderPowerTrain.html | 8 + docs/VirtualFCS.Powertrains.html | 12 + ...CS.SubSystems.Air.SubSystemAir.Medium.html | 16 +- ...irtualFCS.SubSystems.Air.SubSystemAir.html | 16 +- ...CS.SubSystems.Air.SubSystemAirControl.html | 16 +- docs/VirtualFCS.SubSystems.Air.html | 14 +- ...oling.SubSystemCooling.Coolant_Medium.html | 14 +- ...S.SubSystems.Cooling.SubSystemCooling.html | 16 +- ...stems.Cooling.SubSystemCoolingControl.html | 16 +- docs/VirtualFCS.SubSystems.Cooling.html | 18 +- ...tems.FuelCellSubSystems.Anode_Medium.html} | 16 +- ...ms.FuelCellSubSystems.Cathode_Medium.html} | 16 +- ...ms.FuelCellSubSystems.Coolant_Medium.html} | 16 +- ...tualFCS.SubSystems.FuelCellSubSystems.html | 12 + ...drogen.SubSystemHydrogen.Anode_Medium.html | 16 +- ...SubSystems.Hydrogen.SubSystemHydrogen.html | 26 +- ...ems.Hydrogen.SubSystemHydrogenControl.html | 16 +- docs/VirtualFCS.SubSystems.Hydrogen.html | 14 +- docs/VirtualFCS.SubSystems.UsersGuide.html | 14 +- docs/VirtualFCS.SubSystems.html | 15 +- docs/VirtualFCS.Thermal.HeatSink.Medium.html | 14 +- docs/VirtualFCS.Thermal.HeatSink.html | 14 +- docs/VirtualFCS.Thermal.PreHeater.Medium.html | 14 +- docs/VirtualFCS.Thermal.PreHeater.html | 14 +- docs/VirtualFCS.Thermal.UsersGuide.html | 14 +- docs/VirtualFCS.Thermal.html | 14 +- ...irtualFCS.UsersGuide.Acknowledgements.html | 18 +- docs/VirtualFCS.UsersGuide.Contact.html | 14 +- docs/VirtualFCS.UsersGuide.Conventions.html | 14 +- docs/VirtualFCS.UsersGuide.License.html | 14 +- ...UsersGuide.ReleaseNotes.Version_0_1_0.html | 1399 ++++++++++++++++- ...rsGuide.ReleaseNotes.Version_2022_1_0.html | 680 ++++++++ ...UsersGuide.ReleaseNotes.Version_2_0_0.html | 26 + docs/VirtualFCS.UsersGuide.ReleaseNotes.html | 28 +- docs/VirtualFCS.UsersGuide.html | 14 +- ...terRecords.DcPermanentMagnetMotorData.html | 18 +- ...lities.ParameterRecords.DriveDataDcPm.html | 24 +- ...tilities.ParameterRecords.EVDriveData.html | 13 + ...S.Utilities.ParameterRecords.EVMotor1.html | 13 + ...tilities.ParameterRecords.EVMotorData.html | 10 + ...VirtualFCS.Utilities.ParameterRecords.html | 17 +- docs/VirtualFCS.Utilities.html | 14 +- ...cles.DriveCycle.choose_speed_profile.html} | 16 +- docs/VirtualFCS.Vehicles.DriveCycle.html | 12 + ...CS.Vehicles.DriveCycle.speed_profile.html} | 18 +- ...hicles.DriveCycle.speed_profile_name.html} | 16 +- docs/VirtualFCS.Vehicles.DriveCycles.html | 8 - ...irtualFCS.Vehicles.JoystickDriveInput.html | 8 + docs/VirtualFCS.Vehicles.UsersGuide.html | 14 +- docs/VirtualFCS.Vehicles.VehicleProfile.html | 18 +- ....Vehicles.VehicleProfile.vehicle_name.html | 10 + docs/VirtualFCS.Vehicles.html | 17 +- ...rtualFCS.XInTheLoop.HardwareInTheLoop.html | 14 +- .../VirtualFCS.XInTheLoop.ModelInTheLoop.html | 14 +- ...rtualFCS.XInTheLoop.SoftwareInTheLoop.html | 14 +- ...op.JoystickRoadElectricVehicleControl.html | 8 + ...XInTheLoop.UserInTheLoop.ThrottleKeys.html | 14 +- docs/VirtualFCS.XInTheLoop.UserInTheLoop.html | 15 +- docs/VirtualFCS.XInTheLoop.UsersGuide.html | 14 +- docs/VirtualFCS.XInTheLoop.html | 14 +- docs/VirtualFCS.html | 20 +- docs/index.html | 30 +- docs/loadModel.mos | 8 + docs/style.css | 102 +- docs/tidy.err | 4 +- 176 files changed, 7486 insertions(+), 1000 deletions(-) create mode 100644 docs/VirtualFCS.ComponentTesting.CompressorTest.Medium.html create mode 100644 docs/VirtualFCS.ComponentTesting.CompressorTest.html create mode 100644 docs/VirtualFCS.ComponentTesting.DC_converterTest.html rename docs/{VirtualFCS.Examples.TestCoolingSubsystem.Medium.html => VirtualFCS.ComponentTesting.HeatSinkTest.Medium.html} (54%) create mode 100644 docs/VirtualFCS.ComponentTesting.HeatSinkTest.html create mode 100644 docs/VirtualFCS.ComponentTesting.PreHeaterTest.Medium.html create mode 100644 docs/VirtualFCS.ComponentTesting.PreHeaterTest.html create mode 100644 docs/VirtualFCS.ComponentTesting.PressureRegulatorTest.Medium.html create mode 100644 docs/VirtualFCS.ComponentTesting.PressureRegulatorTest.html create mode 100644 docs/VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.Medium.html create mode 100644 docs/VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.html create mode 100644 docs/VirtualFCS.ComponentTesting.PumpElectricDCTest.Medium.html create mode 100644 docs/VirtualFCS.ComponentTesting.PumpElectricDCTest.html create mode 100644 docs/VirtualFCS.ComponentTesting.RecirculationBlowerTest.Medium.html create mode 100644 docs/VirtualFCS.ComponentTesting.RecirculationBlowerTest.html create mode 100644 docs/VirtualFCS.ComponentTesting.SubSystemHydrogenControlTest.html create mode 100644 docs/VirtualFCS.ComponentTesting.ThrottleValveTest.Medium.html create mode 100644 docs/VirtualFCS.ComponentTesting.ThrottleValveTest.html create mode 100644 docs/VirtualFCS.ComponentTesting.html rename docs/{VirtualFCS.Control.DCMotorControl.html => VirtualFCS.Control.DCMotorControlCompressor.html} (53%) create mode 100644 docs/VirtualFCS.Control.DCMotorControlPumpElectricDC.html create mode 100644 docs/VirtualFCS.Control.DCMotorControlRecirculationBlower.html create mode 100644 docs/VirtualFCS.Control.EMS_FC.html create mode 100644 docs/VirtualFCS.Control.PumpSpeedControlCooling.html create mode 100644 docs/VirtualFCS.Electrical.DCConverter.html create mode 100644 docs/VirtualFCS.Electrical.DCConverterSwitch.html create mode 100644 docs/VirtualFCS.Electrical.DC_DC_Converter.html create mode 100644 docs/VirtualFCS.Electrical.SpeedControlledDCMotor.html create mode 100644 docs/VirtualFCS.Electrochemical.Battery.BatterySystem.html create mode 100644 docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellSystem.html delete mode 100644 docs/VirtualFCS.Examples.CycleBatterPack_Lumped.html delete mode 100644 docs/VirtualFCS.Examples.CycleBatteryCell.html delete mode 100644 docs/VirtualFCS.Examples.CycleBatteryPack_Composite.html create mode 100644 docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryCell.html create mode 100644 docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Composite.html create mode 100644 docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Lumped.html rename docs/{VirtualFCS.Examples.PolarizeFuelCellStack.Anode_Medium.html => VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Anode_Medium.html} (51%) create mode 100644 docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Cathode_Medium.html create mode 100644 docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Coolant_Medium.html create mode 100644 docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.html create mode 100644 docs/VirtualFCS.Examples.ElectrochemicalComponents.html delete mode 100644 docs/VirtualFCS.Examples.PolarizeFuelCellStack.html create mode 100644 docs/VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_RealTime.html create mode 100644 docs/VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_UserControl.html create mode 100644 docs/VirtualFCS.Examples.RealTimeExamples.TestThrottleKeys.html create mode 100644 docs/VirtualFCS.Examples.RealTimeExamples.html create mode 100644 docs/VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.Medium.html create mode 100644 docs/VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.html create mode 100644 docs/VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.Medium.html create mode 100644 docs/VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.html create mode 100644 docs/VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.Anode_Medium.html create mode 100644 docs/VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.html create mode 100644 docs/VirtualFCS.Examples.SubsystemExamples.html delete mode 100644 docs/VirtualFCS.Examples.TestAirSubsystem.Medium.html delete mode 100644 docs/VirtualFCS.Examples.TestAirSubsystem.html delete mode 100644 docs/VirtualFCS.Examples.TestCoolingSubsystem.html delete mode 100644 docs/VirtualFCS.Examples.TestHydrogenSubsystem.html delete mode 100644 docs/VirtualFCS.Examples.TestThrottleKeys.html create mode 100644 docs/VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle.html create mode 100644 docs/VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle_JoystickControl.html create mode 100644 docs/VirtualFCS.Examples.VehicleExamples.RangeExtenderHybridVehicle.html create mode 100644 docs/VirtualFCS.Examples.VehicleExamples.html delete mode 100644 docs/VirtualFCS.Examples.VehicleRangeExtender.html create mode 100644 docs/VirtualFCS.Powertrains.BatteryPowerTrain.html create mode 100644 docs/VirtualFCS.Powertrains.ParallelHybridPowerTrain.html create mode 100644 docs/VirtualFCS.Powertrains.RangeExtenderPowerTrain.html create mode 100644 docs/VirtualFCS.Powertrains.html rename docs/{VirtualFCS.Examples.TestHydrogenSubsystem.Anode_Medium.html => VirtualFCS.SubSystems.FuelCellSubSystems.Anode_Medium.html} (54%) rename docs/{VirtualFCS.Examples.PolarizeFuelCellStack.Cathode_Medium.html => VirtualFCS.SubSystems.FuelCellSubSystems.Cathode_Medium.html} (53%) rename docs/{VirtualFCS.Examples.PolarizeFuelCellStack.Coolant_Medium.html => VirtualFCS.SubSystems.FuelCellSubSystems.Coolant_Medium.html} (54%) create mode 100644 docs/VirtualFCS.SubSystems.FuelCellSubSystems.html create mode 100644 docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_2022_1_0.html create mode 100644 docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_2_0_0.html create mode 100644 docs/VirtualFCS.Utilities.ParameterRecords.EVDriveData.html create mode 100644 docs/VirtualFCS.Utilities.ParameterRecords.EVMotor1.html create mode 100644 docs/VirtualFCS.Utilities.ParameterRecords.EVMotorData.html rename docs/{VirtualFCS.Vehicles.VehicleProfile.choose_speed_profile.html => VirtualFCS.Vehicles.DriveCycle.choose_speed_profile.html} (62%) create mode 100644 docs/VirtualFCS.Vehicles.DriveCycle.html rename docs/{VirtualFCS.Vehicles.VehicleProfile.speed_profile.html => VirtualFCS.Vehicles.DriveCycle.speed_profile.html} (50%) rename docs/{VirtualFCS.Vehicles.VehicleProfile.speed_profile_name.html => VirtualFCS.Vehicles.DriveCycle.speed_profile_name.html} (63%) delete mode 100644 docs/VirtualFCS.Vehicles.DriveCycles.html create mode 100644 docs/VirtualFCS.Vehicles.JoystickDriveInput.html create mode 100644 docs/VirtualFCS.Vehicles.VehicleProfile.vehicle_name.html create mode 100644 docs/VirtualFCS.XInTheLoop.UserInTheLoop.JoystickRoadElectricVehicleControl.html create mode 100644 docs/loadModel.mos diff --git a/README.md b/README.md index 454d77e..51127af 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ +## Project Status + +![Status: Inactive](https://img.shields.io/badge/status-inactive-red) +![Planned Update: 2026](https://img.shields.io/badge/updates-2026-blue) + +This library is **not under active maintenance** at the moment. +Development and updates are planned to resume in **2026**. + # VirtualFCS Library VirtualFCS is a Modelica library for fuel cell system modelling developed through the EU H2020 research project Virtual-FCS. diff --git a/docs/GenerateDoc.mos b/docs/GenerateDoc.mos index 89174fc..7d9b594 100644 --- a/docs/GenerateDoc.mos +++ b/docs/GenerateDoc.mos @@ -373,7 +373,7 @@ touch FindFiles.log.tmp OMLIBRARY=\""+getInstallationDirectoryPath()+"/lib/omlibrary\" for f in `sort -u tidy.links`; do link=`echo $f | cut '-d!' -f2-` - link=`python -c \"import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])\" \"$link\"` + link=`python -c \"import sys, urllib as ul; print ul.unquote(sys.argv[1])\" \"$link\"` if test -f \"$OMLIBRARY/$link\"; then d=`dirname \"$link\"` mkdir -p \"$d\" diff --git a/docs/Tidy.py b/docs/Tidy.py index f31e50c..b07249d 100644 --- a/docs/Tidy.py +++ b/docs/Tidy.py @@ -1,62 +1,68 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -from __future__ import with_statement -from bs4 import BeautifulSoup -import subprocess as sub -import re -import glob -import sys - -repls = [ - (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://Modelica/'),'C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/Modelica 3.2.3/'), - (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://ModelicaServices/'),'C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ModelicaServices 3.2.3/'), - (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://VirtualFCS/'),'C:/Users/simonc/Documents/GitHub/VirtualFCS/VirtualFCS/'), - (re.compile(r'.*/omlibrary/'), ''), - (re.compile(r' '), r'%20'), - (re.compile(r'\''), r'%27'), - (re.compile(r'[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://([A-Za-z0-9.\'()_ %]*)#'), r'\1.html#'), - (re.compile(r'[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://([A-Za-z0-9.\'()_ %]*)'), r'\1.html'), -] -rehttp = re.compile(r'https?://',flags=re.IGNORECASE) -ignorebookmark = re.compile(r'^([^#]*)#.*') -links = open('tidy.links','w') - -def linkreplace(link,filepath): - result = link - for (regex,repl) in repls: - try: - result = regex.sub(repl,result) - except: - pass - if result is not link and not rehttp.match(result): - links.write('%s!%s\n' % (filepath,ignorebookmark.sub(r'\1',result))) - return result - -for filepath in sorted(glob.glob('*.html')): -# sub.call(['cp', filepath, filepath + '.original']) - tag = '[Checking file %s]:\n' % filepath -# sys.stdout.write(tag) # not much point in writing the tags to stdout - sys.stderr.write(tag) - pid = sub.call(['tidy', '-utf8', '-modify', '-asxhtml', '--add-xml-decl', 'yes', '-quiet', filepath]) - if pid != 2: - with open(filepath,'r') as html_file: - soup = BeautifulSoup(html_file, fromEncoding='utf-8') - for a in soup.findAll('a'): - try: - a['href'] = linkreplace(a['href'],filepath) - except: - pass - for a in soup.findAll('link'): - try: - a['href'] = linkreplace(a['href'],filepath) - except: - pass - for img in soup.findAll('img'): - try: - img['src'] = linkreplace(img['src'],filepath) - except: - pass - with open(filepath,'w') as html_file: - html_file.write(str(soup)) - else: - print('Tidy failed with %s, skipping link-replacement for %s!' % (pid,filepath)) +#!/usr/bin/env python +# -*- coding: utf-8 -*- +from __future__ import with_statement +from bs4 import BeautifulSoup +import subprocess as sub +import re +import glob +import sys + +repls = [ + (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://AixLib/'),'C:/Users/benjamins/AppData/Roaming/.openmodelica/libraries/AixLib 1.3.2/'), + (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://Buildings/'),'C:/Users/benjamins/AppData/Roaming/.openmodelica/libraries/Buildings 9.1.0/'), + (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://Complex/'),'C:/Users/benjamins/AppData/Roaming/.openmodelica/libraries/Complex 4.0.0+maint.om/'), + (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://Modelica/'),'C:/Users/benjamins/AppData/Roaming/.openmodelica/libraries/Modelica 4.0.0+maint.om/'), + (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://ModelicaServices/'),'C:/Users/benjamins/AppData/Roaming/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/'), + (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://Modelica_DeviceDrivers/'),'C:/Users/benjamins/AppData/Roaming/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/'), + (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://PowerSystems/'),'C:/Users/benjamins/AppData/Roaming/.openmodelica/libraries/PowerSystems 1.0.1/'), + (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://SDF/'),'C:/Users/benjamins/AppData/Roaming/.openmodelica/libraries/SDF master/'), + (re.compile('^[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://VirtualFCS/'),'C:/Users/benjamins/Documents/GitHub/VirtualFCS/VirtualFCS/VirtualFCS/'), + (re.compile(r'.*/omlibrary/'), ''), + (re.compile(r' '), r'%20'), + (re.compile(r'\''), r'%27'), + (re.compile(r'[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://([A-Za-z0-9.\'()_ %]*)#'), r'\1.html#'), + (re.compile(r'[Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]://([A-Za-z0-9.\'()_ %]*)'), r'\1.html'), +] +rehttp = re.compile(r'https?://',flags=re.IGNORECASE) +ignorebookmark = re.compile(r'^([^#]*)#.*') +links = open('tidy.links','w') + +def linkreplace(link,filepath): + result = link + for (regex,repl) in repls: + try: + result = regex.sub(repl,result) + except: + pass + if result is not link and not rehttp.match(result): + links.write('%s!%s\n' % (filepath,ignorebookmark.sub(r'\1',result))) + return result + +for filepath in sorted(glob.glob('*.html')): +# sub.call(['cp', filepath, filepath + '.original']) + tag = '[Checking file %s]:\n' % filepath +# sys.stdout.write(tag) # not much point in writing the tags to stdout + sys.stderr.write(tag) + pid = sub.call(['tidy', '-utf8', '-modify', '-asxhtml', '--add-xml-decl', 'yes', '-quiet', filepath]) + if pid != 2: + with open(filepath,'r') as html_file: + soup = BeautifulSoup(html_file, fromEncoding='utf-8') + for a in soup.findAll('a'): + try: + a['href'] = linkreplace(a['href'],filepath) + except: + pass + for a in soup.findAll('link'): + try: + a['href'] = linkreplace(a['href'],filepath) + except: + pass + for img in soup.findAll('img'): + try: + img['src'] = linkreplace(img['src'],filepath) + except: + pass + with open(filepath,'w') as html_file: + html_file.write(str(soup)) + else: + print('Tidy failed with %s, skipping link-replacement for %s!' % (pid,filepath)) diff --git a/docs/VirtualFCS.ComponentTesting.CompressorTest.Medium.html b/docs/VirtualFCS.ComponentTesting.CompressorTest.Medium.html new file mode 100644 index 0000000..736b521 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.CompressorTest.Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.CompressorTest.Medium + + +

.VirtualFCS.ComponentTesting.CompressorTest.Medium

+

Definition

+
package Medium = Modelica.Media.Air.MoistAir(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.CompressorTest.html b/docs/VirtualFCS.ComponentTesting.CompressorTest.html new file mode 100644 index 0000000..c997cd7 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.CompressorTest.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.CompressorTest + + +

.VirtualFCS.ComponentTesting.CompressorTest

Information

Simple model to test the compressor component

Contents

+
Name
+
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.DC_converterTest.html b/docs/VirtualFCS.ComponentTesting.DC_converterTest.html new file mode 100644 index 0000000..f251b3e --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.DC_converterTest.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.ComponentTesting.DC_converterTest + + +

.VirtualFCS.ComponentTesting.DC_converterTest

Information

Simple model to test the DC_converter

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.TestCoolingSubsystem.Medium.html b/docs/VirtualFCS.ComponentTesting.HeatSinkTest.Medium.html similarity index 54% rename from docs/VirtualFCS.Examples.TestCoolingSubsystem.Medium.html rename to docs/VirtualFCS.ComponentTesting.HeatSinkTest.Medium.html index e5deda8..aeb641d 100644 --- a/docs/VirtualFCS.Examples.TestCoolingSubsystem.Medium.html +++ b/docs/VirtualFCS.ComponentTesting.HeatSinkTest.Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Examples.TestCoolingSubsystem.Medium - - -

.VirtualFCS.Examples.TestCoolingSubsystem.Medium

+ + + + VirtualFCS.ComponentTesting.HeatSinkTest.Medium + + +

.VirtualFCS.ComponentTesting.HeatSinkTest.Medium

Definition

package Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.HeatSinkTest.html b/docs/VirtualFCS.ComponentTesting.HeatSinkTest.html new file mode 100644 index 0000000..219f685 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.HeatSinkTest.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.HeatSinkTest + + +

.VirtualFCS.ComponentTesting.HeatSinkTest

Information

Simple model to test the HeatSink model

Contents

+ +
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.PreHeaterTest.Medium.html b/docs/VirtualFCS.ComponentTesting.PreHeaterTest.Medium.html new file mode 100644 index 0000000..c148f22 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.PreHeaterTest.Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.PreHeaterTest.Medium + + +

.VirtualFCS.ComponentTesting.PreHeaterTest.Medium

+

Definition

+
package Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.PreHeaterTest.html b/docs/VirtualFCS.ComponentTesting.PreHeaterTest.html new file mode 100644 index 0000000..be8d75c --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.PreHeaterTest.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.PreHeaterTest + + +

.VirtualFCS.ComponentTesting.PreHeaterTest

Information

Simple model to test the PreHeater model

Contents

+ +
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest.Medium.html b/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest.Medium.html new file mode 100644 index 0000000..20cffcf --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest.Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.PressureRegulatorTest.Medium + + +

.VirtualFCS.ComponentTesting.PressureRegulatorTest.Medium

+

Definition

+
package Medium = Modelica.Media.IdealGases.SingleGases.H2(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest.html b/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest.html new file mode 100644 index 0000000..9ab8664 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.PressureRegulatorTest + + +

.VirtualFCS.ComponentTesting.PressureRegulatorTest

Information

Simple model to test the PressureRegulator model

Contents

+ +
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.Medium.html b/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.Medium.html new file mode 100644 index 0000000..289d68a --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.Medium + + +

.VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.Medium

+

Definition

+
package Medium = Modelica.Media.IdealGases.SingleGases.H2(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.html b/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.html new file mode 100644 index 0000000..93174b8 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.PressureRegulatorTest_v2.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.PressureRegulatorTest_v2 + + +

.VirtualFCS.ComponentTesting.PressureRegulatorTest_v2

Information

Second simple model to test the PressureRegulator model

Contents

+ +
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.PumpElectricDCTest.Medium.html b/docs/VirtualFCS.ComponentTesting.PumpElectricDCTest.Medium.html new file mode 100644 index 0000000..e7cb5dd --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.PumpElectricDCTest.Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.PumpElectricDCTest.Medium + + +

.VirtualFCS.ComponentTesting.PumpElectricDCTest.Medium

+

Definition

+
package Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.PumpElectricDCTest.html b/docs/VirtualFCS.ComponentTesting.PumpElectricDCTest.html new file mode 100644 index 0000000..069cbd5 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.PumpElectricDCTest.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.PumpElectricDCTest + + +

.VirtualFCS.ComponentTesting.PumpElectricDCTest

Information

Simple model to test the PumpElectricDC model

Contents

+ +
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.RecirculationBlowerTest.Medium.html b/docs/VirtualFCS.ComponentTesting.RecirculationBlowerTest.Medium.html new file mode 100644 index 0000000..799726c --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.RecirculationBlowerTest.Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.RecirculationBlowerTest.Medium + + +

.VirtualFCS.ComponentTesting.RecirculationBlowerTest.Medium

+

Definition

+
package Medium = Modelica.Media.IdealGases.SingleGases.H2(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start*3));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.RecirculationBlowerTest.html b/docs/VirtualFCS.ComponentTesting.RecirculationBlowerTest.html new file mode 100644 index 0000000..1465bac --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.RecirculationBlowerTest.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.RecirculationBlowerTest + + +

.VirtualFCS.ComponentTesting.RecirculationBlowerTest

Information

Simple model to test the recirculation blower model

Contents

+ +
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.SubSystemHydrogenControlTest.html b/docs/VirtualFCS.ComponentTesting.SubSystemHydrogenControlTest.html new file mode 100644 index 0000000..9aa3dbf --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.SubSystemHydrogenControlTest.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.ComponentTesting.SubSystemHydrogenControlTest + + +

.VirtualFCS.ComponentTesting.SubSystemHydrogenControlTest

Information

Simple model to test the SubSystemHydrogenControl model

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.ThrottleValveTest.Medium.html b/docs/VirtualFCS.ComponentTesting.ThrottleValveTest.Medium.html new file mode 100644 index 0000000..421a4e3 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.ThrottleValveTest.Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.ThrottleValveTest.Medium + + +

.VirtualFCS.ComponentTesting.ThrottleValveTest.Medium

+

Definition

+
package Medium = Modelica.Media.Air.MoistAir(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.ThrottleValveTest.html b/docs/VirtualFCS.ComponentTesting.ThrottleValveTest.html new file mode 100644 index 0000000..cbf0c14 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.ThrottleValveTest.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.ComponentTesting.ThrottleValveTest + + +

.VirtualFCS.ComponentTesting.ThrottleValveTest

Information

Simple model to test the ThrottleValve model

Contents

+ +
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.ComponentTesting.html b/docs/VirtualFCS.ComponentTesting.html new file mode 100644 index 0000000..8c60262 --- /dev/null +++ b/docs/VirtualFCS.ComponentTesting.html @@ -0,0 +1,19 @@ + + + + VirtualFCS.ComponentTesting + + +

.VirtualFCS.ComponentTesting

Contents

+ + + + + + + + + + +
NameDescription
CompressorTestSimple model to test the compressor component
DC_converterTestSimple model to test the DC_converter
HeatSinkTestSimple model to test the HeatSink model
PreHeaterTestSimple model to test the PreHeater model
PressureRegulatorTestSimple model to test the PressureRegulator model
PressureRegulatorTest_v2Second simple model to test the PressureRegulator model
PumpElectricDCTestSimple model to test the PumpElectricDC model
RecirculationBlowerTestSimple model to test the recirculation blower model
SubSystemHydrogenControlTestSimple model to test the SubSystemHydrogenControl model
ThrottleValveTestSimple model to test the ThrottleValve model

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.BatteryManagementSystem.html b/docs/VirtualFCS.Control.BatteryManagementSystem.html index 50deb04..f6417f5 100644 --- a/docs/VirtualFCS.Control.BatteryManagementSystem.html +++ b/docs/VirtualFCS.Control.BatteryManagementSystem.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.Control.BatteryManagementSystem - - + + + + VirtualFCS.Control.BatteryManagementSystem + +

.VirtualFCS.Control.BatteryManagementSystem

Information

The BatteryManagementSystem component is responsible for protecting the battery pack. It ensures that the pack is not overcharged or overdischarged to dangerous state-of-charge levels. It also limits the maximum charging and discharging current the battery pack can support.
Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.ChargeCounter.html b/docs/VirtualFCS.Control.ChargeCounter.html index 5043610..d558b59 100644 --- a/docs/VirtualFCS.Control.ChargeCounter.html +++ b/docs/VirtualFCS.Control.ChargeCounter.html @@ -1,9 +1,9 @@ - - - - VirtualFCS.Control.ChargeCounter - - + + + + VirtualFCS.Control.ChargeCounter + +

.VirtualFCS.Control.ChargeCounter

Information

What it does
The ChargeCounter model is designed to calculate the state-of-charge of a battery using a simple charge counting algorithm. 

Description
The ChargeCounter model can be used together with a battery model (e.g. VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped). It may be implement either on its own or as a component in a larger battery management system (BMS) block (e.g. VirtualFCS.Control.BatteryManagementSystem). ChargeCounter builds on components from the Modelica Standard Library.

Assumptions
The inital version assumes a faradaic efficiency of 100%.

Formula

@@ -11,4 +11,4 @@

.SOC = SOC_init - int_0^t{i/C dt}

Operation


Main Authors

List of Updates
30.06.2021 Initial Version

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.DCMotorControl.html b/docs/VirtualFCS.Control.DCMotorControlCompressor.html similarity index 53% rename from docs/VirtualFCS.Control.DCMotorControl.html rename to docs/VirtualFCS.Control.DCMotorControlCompressor.html index 62a5255..1eff905 100644 --- a/docs/VirtualFCS.Control.DCMotorControl.html +++ b/docs/VirtualFCS.Control.DCMotorControlCompressor.html @@ -1,13 +1,12 @@ - - - - VirtualFCS.Control.DCMotorControl - - -

.VirtualFCS.Control.DCMotorControl

Information

-

This is a partial model of a controlled DC PM drive.

+ + + + VirtualFCS.Control.DCMotorControlCompressor + + +

.VirtualFCS.Control.DCMotorControlCompressor

Information

This is a partial model of a controlled DC PM drive.

-Electrical power is taken from a battery (constant voltage with inner resistance) and fed to the motor via a DC-DC inverter. +Electrical power is fed to the motor via a DC-DC inverter. The level of detail of the DC-DC inverter may be chosen from ideal averaging or switching. The DC-DC inverter is commanded by the current controller. The current controller is parameterized according to the absolute optimum. @@ -15,6 +14,6 @@

.Tutorial at the Modelica Conference 2017 -

-
Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +

This model is adapted from the DC PM drive control model used in the Modelica Standard Library.

+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.DCMotorControlPumpElectricDC.html b/docs/VirtualFCS.Control.DCMotorControlPumpElectricDC.html new file mode 100644 index 0000000..d8214bf --- /dev/null +++ b/docs/VirtualFCS.Control.DCMotorControlPumpElectricDC.html @@ -0,0 +1,19 @@ + + + + VirtualFCS.Control.DCMotorControlPumpElectricDC + + +

.VirtualFCS.Control.DCMotorControlPumpElectricDC

Information

This is a partial model of a controlled DC PM drive.

+

+Electrical power is fed to the motor via a DC-DC inverter. +The level of detail of the DC-DC inverter may be chosen from ideal averaging or switching. +The DC-DC inverter is commanded by the current controller. +The current controller is parameterized according to the absolute optimum. +

+

+Further reading: +Tutorial at the Modelica Conference 2017 +

This model is adapted from the DC PM drive control model used in the Modelica Standard Library.

+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.DCMotorControlRecirculationBlower.html b/docs/VirtualFCS.Control.DCMotorControlRecirculationBlower.html new file mode 100644 index 0000000..a1b59b8 --- /dev/null +++ b/docs/VirtualFCS.Control.DCMotorControlRecirculationBlower.html @@ -0,0 +1,19 @@ + + + + VirtualFCS.Control.DCMotorControlRecirculationBlower + + +

.VirtualFCS.Control.DCMotorControlRecirculationBlower

Information

This is a partial model of a controlled DC PM drive.

+

+Electrical power is fed to the motor via a DC-DC inverter. +The level of detail of the DC-DC inverter may be chosen from ideal averaging or switching. +The DC-DC inverter is commanded by the current controller. +The current controller is parameterized according to the absolute optimum. +

+

+Further reading: +Tutorial at the Modelica Conference 2017 +

This model is adapted from the DC PM drive control model used in the Modelica Standard Library.

+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.EMS_FC.html b/docs/VirtualFCS.Control.EMS_FC.html new file mode 100644 index 0000000..f147ac0 --- /dev/null +++ b/docs/VirtualFCS.Control.EMS_FC.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Control.EMS_FC + + +

.VirtualFCS.Control.EMS_FC


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.EnergyManagementSystem.html b/docs/VirtualFCS.Control.EnergyManagementSystem.html index 97dcb56..88958ef 100644 --- a/docs/VirtualFCS.Control.EnergyManagementSystem.html +++ b/docs/VirtualFCS.Control.EnergyManagementSystem.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.Control.EnergyManagementSystem - - + + + + VirtualFCS.Control.EnergyManagementSystem + +

.VirtualFCS.Control.EnergyManagementSystem

Information

The EnergyManagementSystem component is designed to manage the flow of power between the fuel cell stack, battery, vehicle load, and balance-of-plant load. It splits the load according to pre-defined energy management rules, which are implemented within the bounds of the battery management system and the fuel cell control unit.

This model implements a simple energy management algorithm for a hybrid fuel cell & battery system. The model reads the state-of-charge (SOC) of the battery. If it is less than a lower threshold value, then a signal is sent to activate the fuel cell with a given electric current. The rate at which current can be demanded from the fuel cell is limited by a slew rate. 
Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.FuelCellSystemControl.html b/docs/VirtualFCS.Control.FuelCellSystemControl.html index 4f05717..a0e5bc0 100644 --- a/docs/VirtualFCS.Control.FuelCellSystemControl.html +++ b/docs/VirtualFCS.Control.FuelCellSystemControl.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.Control.FuelCellSystemControl - - + + + + VirtualFCS.Control.FuelCellSystemControl + +

.VirtualFCS.Control.FuelCellSystemControl

Information

The FuelCellSystemControl manages all aspects related to the performance of the fuel cell stack and its related sub-systems. Most notably, the fuel cell control unit regulates the stack temperature by the flow of coolant and ensures sufficient flow of hydrogen and air to maintain the electrochemical reactions in the stack.
Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.PumpSpeedControl.html b/docs/VirtualFCS.Control.PumpSpeedControl.html index 85a5ba5..13c0181 100644 --- a/docs/VirtualFCS.Control.PumpSpeedControl.html +++ b/docs/VirtualFCS.Control.PumpSpeedControl.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.Control.PumpSpeedControl - - -

.VirtualFCS.Control.PumpSpeedControl

Information

Control the speed of a DC electric pump

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.Control.PumpSpeedControl + + +

.VirtualFCS.Control.PumpSpeedControl

Information

Control the speed of a Electric Pump DC or Recirculation Blower

Description

This block uses a simple PID control to set pump speed as a function of mass flow. 

The block requires that a sensor be placed to measure the mass flow through the pump in question. The measured value for the mass flow is taken in the getMassFlow interface, while the desired mass flow is set in the setMassFlowInterface. Properties of the PID control can be adjusted in the limPID block, and the resulting control signal is sent to the setPumpSpeed interface. 

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.PumpSpeedControlCooling.html b/docs/VirtualFCS.Control.PumpSpeedControlCooling.html new file mode 100644 index 0000000..6316688 --- /dev/null +++ b/docs/VirtualFCS.Control.PumpSpeedControlCooling.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Control.PumpSpeedControlCooling + + +

.VirtualFCS.Control.PumpSpeedControlCooling

Information

Control the speed of a Electric Pump DC or Recirculation Blower

Description

This block uses a simple PID control to set pump speed as a function of mass flow. 

The block requires that a sensor be placed to measure the mass flow through the pump in question. The measured value for the mass flow is taken in the getMassFlow interface, while the desired mass flow is set in the setMassFlowInterface. Properties of the PID control can be adjusted in the limPID block, and the resulting control signal is sent to the setPumpSpeed interface. 

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.PurgeValveControl.html b/docs/VirtualFCS.Control.PurgeValveControl.html index 63cf9fe..8abf75d 100644 --- a/docs/VirtualFCS.Control.PurgeValveControl.html +++ b/docs/VirtualFCS.Control.PurgeValveControl.html @@ -1,8 +1,9 @@ - - - - VirtualFCS.Control.PurgeValveControl - - -

.VirtualFCS.Control.PurgeValveControl

Information

Write some text.
Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.Control.PurgeValveControl + + +

.VirtualFCS.Control.PurgeValveControl

Information

+

Control the state of the Purge Valve in a hydrogen fuel cell system

Description

Fuel cell systems often contain a Purge Valve in the Hydrogen SubSystem that is designed to purge impurities from the hydrogen line. There are different strategies for controlling this behaviour. Some systems open the Purge Valve at regular intervals during  Fuel Cell Stack operation. Others employ a charge counting algorithm to open the valve for every X Ah that passes through the Fuel Cell Stack

In this implementation, the block first determines if the Fuel Cell Stack is on (i.e. abs(i_FC > 1)). If it is not on, then the Purge Valve is closed. If it is on, then the Purge Valve is opened at regular intervals defined by the setPurgeValveState block. The control signal is then sent to the valve. 


Further update

Future development of this block will include alternative algorithms for determining the purging behaviour. 

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.UsersGuide.html b/docs/VirtualFCS.Control.UsersGuide.html index 52dd55d..e4a1125 100644 --- a/docs/VirtualFCS.Control.UsersGuide.html +++ b/docs/VirtualFCS.Control.UsersGuide.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.Control.UsersGuide - - + + + + VirtualFCS.Control.UsersGuide + +

.VirtualFCS.Control.UsersGuide

Information

The package VirtualFCS.Control contains models for the control of hybrid fuel cell systems and their components. 

The models read the state of the component under control, apply some algorithm(s) to process the state variables, and send a control signal back to the component. Signals from sensors and to controls typically use real number interfaces. In some cases, electrical connections are used to directly control electrical components using voltage or current. 

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.VoltageLimiter.html b/docs/VirtualFCS.Control.VoltageLimiter.html index 98387d5..0cb41e8 100644 --- a/docs/VirtualFCS.Control.VoltageLimiter.html +++ b/docs/VirtualFCS.Control.VoltageLimiter.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.Control.VoltageLimiter - - -

.VirtualFCS.Control.VoltageLimiter

Information

Enforce voltage limits on battery cells.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.Control.VoltageLimiter + + +

.VirtualFCS.Control.VoltageLimiter

Information

The voltage limiter block enforces user-defined upper and lower voltage limits for battery cells and packs. 
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Control.html b/docs/VirtualFCS.Control.html index 527ce5c..89af075 100644 --- a/docs/VirtualFCS.Control.html +++ b/docs/VirtualFCS.Control.html @@ -1,18 +1,22 @@ - - - - VirtualFCS.Control - - + + + + VirtualFCS.Control + +

.VirtualFCS.Control

Information

Control algorithms for hybrid fuel cell & battery systems.

Contents

- - - - - + + + + + + + + +
NameDescription
UsersGuideUser information for the Control sub-library
DCMotorControlControl the speed of a DC motor
PurgeValveControlControl the state of the purge valve in a hydrogen fuel cell system.
PumpSpeedControlControl the speed of a DC electric pump
FuelCellSystemControlImplement algorithms for the control of fuel cell systems.
ChargeCounterDetermine the state-of-charge of a battery using a charge counting algorithm
BatteryManagementSystemImplement algorithms for the control of battery systems.
ChargeCounterDetermine the state-of-charge of a battery using a charge counting algorithm
DCMotorControlCompressorControl the speed of a DC motor
DCMotorControlPumpElectricDCControl the speed of a DC motor
DCMotorControlRecirculationBlowerControl the speed of a DC motor
EMS_FC
EnergyManagementSystemImplement algorithms to control the energy and power distribution in a hybrid system.
FuelCellSystemControlImplement algorithms for the control of fuel cell systems.
PumpSpeedControl
PumpSpeedControlCooling
PurgeValveControl
VoltageLimiterEnforce voltage limits on battery cells.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrical.DCConverter.html b/docs/VirtualFCS.Electrical.DCConverter.html new file mode 100644 index 0000000..92dc407 --- /dev/null +++ b/docs/VirtualFCS.Electrical.DCConverter.html @@ -0,0 +1,21 @@ + + + + VirtualFCS.Electrical.DCConverter + + +

.VirtualFCS.Electrical.DCConverter

Information

+

This is an ideal DC/DC converter.

+

+The DC/DC converter is characterized by: +

+
    +
  • Losses are not considered
  • +
  • The AC output current is determined based on power balance, calculating with instantaneous values: + vDC1*iDC1 + vDC2*iDC2 = 0
  • +
  • The DC input voltage vDCRef is applied to the DC side 1 without limitations
  • +
  • The phase angle input phi influences the AC reactive power based on the following figure, + where underlined voltages and currents represent complex phasors
  • +
+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrical.DCConverterSwitch.html b/docs/VirtualFCS.Electrical.DCConverterSwitch.html new file mode 100644 index 0000000..d9466b5 --- /dev/null +++ b/docs/VirtualFCS.Electrical.DCConverterSwitch.html @@ -0,0 +1,21 @@ + + + + VirtualFCS.Electrical.DCConverterSwitch + + +

.VirtualFCS.Electrical.DCConverterSwitch

Information

+

This is an ideal DC/DC converter.

+

+The DC/DC converter is characterized by: +

+
    +
  • Losses are not considered
  • +
  • The AC output current is determined based on power balance, calculating with instantaneous values: + vDC1*iDC1 + vDC2*iDC2 = 0
  • +
  • The DC input voltage vDCRef is applied to the DC side 1 without limitations
  • +
  • The phase angle input phi influences the AC reactive power based on the following figure, + where underlined voltages and currents represent complex phasors
  • +
+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrical.DC_DC_Converter.html b/docs/VirtualFCS.Electrical.DC_DC_Converter.html new file mode 100644 index 0000000..332a7cf --- /dev/null +++ b/docs/VirtualFCS.Electrical.DC_DC_Converter.html @@ -0,0 +1,21 @@ + + + + VirtualFCS.Electrical.DC_DC_Converter + + +

.VirtualFCS.Electrical.DC_DC_Converter

Information

+

This is an ideal DC/DC converter.

+

+The DC/DC converter is characterized by: +

+
    +
  • Losses are not considered
  • +
  • The AC output current is determined based on power balance, calculating with instantaneous values: + vDC1*iDC1 + vDC2*iDC2 = 0
  • +
  • The DC input voltage vDCRef is applied to the DC side 1 without limitations
  • +
  • The phase angle input phi influences the AC reactive power based on the following figure, + where underlined voltages and currents represent complex phasors
  • +
+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrical.DC_converter.html b/docs/VirtualFCS.Electrical.DC_converter.html index fd1d226..0a0a83b 100644 --- a/docs/VirtualFCS.Electrical.DC_converter.html +++ b/docs/VirtualFCS.Electrical.DC_converter.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Electrical.DC_converter - - + + + + VirtualFCS.Electrical.DC_converter + +

.VirtualFCS.Electrical.DC_converter

Information

This is a model of an ideal DC-DC inverter based on a power balance achieved by an integral controller.


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrical.SpeedControlledDCMotor.html b/docs/VirtualFCS.Electrical.SpeedControlledDCMotor.html new file mode 100644 index 0000000..35adb28 --- /dev/null +++ b/docs/VirtualFCS.Electrical.SpeedControlledDCMotor.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Electrical.SpeedControlledDCMotor + + +

.VirtualFCS.Electrical.SpeedControlledDCMotor


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrical.UsersGuide.html b/docs/VirtualFCS.Electrical.UsersGuide.html index aa7f049..39b1d06 100644 --- a/docs/VirtualFCS.Electrical.UsersGuide.html +++ b/docs/VirtualFCS.Electrical.UsersGuide.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.Electrical.UsersGuide - - + + + + VirtualFCS.Electrical.UsersGuide + +

.VirtualFCS.Electrical.UsersGuide

Information

User information for the Electrical sub-library

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrical.html b/docs/VirtualFCS.Electrical.html index fedbefe..2b12c4f 100644 --- a/docs/VirtualFCS.Electrical.html +++ b/docs/VirtualFCS.Electrical.html @@ -1,11 +1,15 @@ - - - - VirtualFCS.Electrical - - + + + + VirtualFCS.Electrical + +

.VirtualFCS.Electrical

Information

Electrical components

Contents

+ + + +
NameDescription
UsersGuideUser information for the Electrical sub-library
DC_converterAn ideal DC-DC converter
DC_DC_ConverterDC controlled single phase DC/AC converter
DCConverterSwitchDC controlled single phase DC/AC converter
DCConverterDC controlled single phase DC/AC converter
SpeedControlledDCMotor

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Battery.BatterySystem.html b/docs/VirtualFCS.Electrochemical.Battery.BatterySystem.html new file mode 100644 index 0000000..9dc8b1b --- /dev/null +++ b/docs/VirtualFCS.Electrochemical.Battery.BatterySystem.html @@ -0,0 +1,678 @@ + + + + VirtualFCS.Electrochemical.Battery.BatterySystem + + +

.VirtualFCS.Electrochemical.Battery.BatterySystem

Information

+ + + + + + + + + + + + + + + +

The BatterySystem class packages together a lumped model of a lithium-ion battery pack and a battery management system. This class can be directly integrated into a powertrain model, for example in BatteryPowerTrain and RangeExtenderPowerTrain.

+ +

Related packages:

Default Parameters
Parameter nameValueUnit
m_bat_pack=100kg
L_bat_pack=0.6m
W_bat_pack=0.45m
H_bat_pack=0.1m
Cp=1000J/(kg.K)
V_min_bat_pack=240V
V_nom_bat_pack=336V
V_max_bat_pack=403.2V
C_bat_pack=200Ah
SOC_init=0.5-
+ +
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Composite.html b/docs/VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Composite.html index 7fb2a12..593312a 100644 --- a/docs/VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Composite.html +++ b/docs/VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Composite.html @@ -1,8 +1,40 @@ - - - - VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Composite - - -

.VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Composite

Information

This model describes a lithium-ion battery pack as a composite of LiIonCell models. This setup has the advantage of being able to consider the performance of each individual cell, which may be useful for some investiations such as cell-balancing. However, it can also lead to a very large system of equations for complex models with many cells causing high computational cost. 

Default Parameters
mass = 2.5  kg
Cp  = 1000  J/(kg.K)
SOC_init  = 0.5  -
p = 5 Cells in parallel
= 10  Cells in series


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Composite + + +

.VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Composite

Information

This model describes a lithium-ion battery pack as a composite of several separate instances of the LiIonCell model. This setup has the advantage of being able to consider the performance of each individual cell, which may be useful for some investigations such as cell-balancing. However, it can also lead to a very large system of equations for complex models with many cells causing high computational cost. 
+ +
+This class automatically generates instances of the LiIonCell model based on the user's input. The user must determine how many cells are in parallel (parameter p) and in series (parameter s). A series of for loops then connects the cells in series or in parallel based on the requested architecture. The stack voltage is accessible by pin_p and pin_n.

The thermalCollector class automatically gathers all the heatPort outputs from each instance of LiIonCell and connects them to parallel convective and radiative heat transfer blocks. The effective cooling area for the blocks is the same and is assumed equal to the surface area of each cell multiplied by the number of cells in the pack. The ambient temperature T0 is determined by connection to the heatBoundary.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Default Parameters
Parameter nameValueUnit
SOC_init=0.5-
p=5Cells in parallel
s=10Cells in series
heatTransferCoefficient=7.8 * 10 ^ 0.78W/(m2 K)

+
Convective Heat Transfer
Qconv = hAcool(T  T0)

Radiative Heat Transfer
Qrad = 0.95Acoolσ(T4  (T0)4)

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped.html b/docs/VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped.html index a7dc8f1..78b5df3 100644 --- a/docs/VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped.html +++ b/docs/VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped.html @@ -1,8 +1,76 @@ - - - - VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped - - -

.VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped

Information

This model describes a lithium-ion battery pack as a lumped of LiIonCell model. It simulates the single cell equation and multiplies is by number of cells in series and parallel. This setup has the advantage of low computational time. 

Default Parameters
mass  = 2.5  kg
Cp  = 1000  J/(kg.K)
SOC_init  = 0.5  -
p = 5 Cells in parallel
= 10  Cells in series

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped + + +

.VirtualFCS.Electrochemical.Battery.LiIonBatteryPack_Lumped

Information

This model describes a lithium-ion battery pack as a lumped version of the LiIonCell model. The primary difference is that the open-circuit voltage (OCV) is scaled by the number of cells in series in the stack, estimated as the battery pack maximum voltage divided by the maximum voltage of a single cell (Vmax,bat pack/Vchem,max).

The model includes a ChargeCounter block to keep track of the state of charge (SOC) of the battery.
+ + + + +
+The equation for open-circuit voltage as a function of temperature and state of charge is taken from Vichard et al. [1], and is parameterized to the LFP chemistry by default.

The battery pack is assumed to have a uniform temperature with a thermal mass based on its heat capacity, Cp, and mass m_bat_pack. The heat generated from passing current through the battery is calculated according to the Heat Generation equation below. Heat is assumed to enter or leave the battery via convection and radiation on an area equivalent to the bottom wall of the pack. The ambient temperature is determined by the connection to the heatBoundary.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Default Parameters
Parameter nameValueUnit
m_bat_pack=100kg
L_bat_pack=0.6m
W_bat_pack=0.45m
H_bat_pack=0.1m
Cp=1000J/(kg.K)
V_min_bat_pack=37.5V
V_nom_bat_pack=48V
V_max_bat_pack=54.75V
C_bat_pack=200Ah
SOC_init=0.5-
V_chem_max=3.65V

Default Equivalent Circuit Parameters
Parameter nameValueUnit
R_0=0.02Ohm
R_1=0.01Ohm
R_2=0.005Ohm
C_1=5000F
C_2=20000F

Default Thermal Parameters
Parameter nameValueUnit
Cp=1000J/(kg*K)
A_cool_bat_pack =L_bat_pack*W_bat_packm2
heatTransferCoefficient =7.8*10^0.78W/(m2*K)

Equations
Open-Circuit Voltage
OCV = [A1 + B1*(20 ° T  °C)/SOC + C1/sqrt(SOC) + D1*SOC + E1*ln(SOC) + F1*ln(1.01  SOC) + G1*ln(1.001  SOC) + H1*exp(I1*(T °C))]*(Vmax,bat pack/Vchem,max)

The coefficients for A1 through I1 are taken from [1] for LFP batteries.

Battery Temperature
m*Cp dT/dt = Qflow + Qconv + Qrad

Heat Generation
Qflow = (OCV  Vpin,p)*I

Convective Heat Transfer
Qconv = hAcool(T  T0); h = 47 W m2 K1

Radiative Heat Transfer
Qrad = 0.95Acoolσ(T4  (T0)4)


References
1.
Vichard, L. et al. A method to estimate battery SOH indicators based on vehicle operating data only. Energy 225, 120235 (2021).

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Battery.LiIonCell.html b/docs/VirtualFCS.Electrochemical.Battery.LiIonCell.html index 9ca4ec2..7a2541c 100644 --- a/docs/VirtualFCS.Electrochemical.Battery.LiIonCell.html +++ b/docs/VirtualFCS.Electrochemical.Battery.LiIonCell.html @@ -1,8 +1,103 @@ - - - - VirtualFCS.Electrochemical.Battery.LiIonCell - - -

.VirtualFCS.Electrochemical.Battery.LiIonCell

Information

The LiIonCell class implements a simple 2RC equivalent circuit model for a lithium-ion battery cell. This circuit simulates the internal electrochemical reaction (internal resistance) of a lithium ion cell.
The model comes pre-programmed with default parameters for both lithium iron phosphate (LFP) and nickel manganese cobalt (NMC) battery cells. The state-of-charge of the battery is calculated using a charge counting method. 

Default Battery Parameters
chemistry = LFP-Graphite
format  = 18650 Cylindrical
mass = 45 g
chargeCapacity = 2.2 Ah

Default Equivalent Circuit Parameters
R0 = 20 mOhm
R1 = 10 mOhm
R2 = 5 mOhm
C1 = 5000 F
C2 = 20000 F


The heat generated from the electrochemical reaction is approximated as:

Default Thermal Parameters
specificHeatCapacity  = 1000 J/(kg*K)
surfaceEmissivity   = 0.95
coolingArea  = 0.003675 m2

References
[1] Vichard et al. A method to estimate battery SOH indicators based on vehicles operating data only, Energy, vol. 225, 15 June 2021, 120235.

[2] Shen et al. The Co-estimation of State of Charge, State of Health, and State of Function for Lithium-Ion Batteries in Electric Vehicles, IEEE Transactions on Vehicular Technology, vol. 67, no. 1, January 2018.

[3] Lievre et al. Practical Online Estimation of Lithium-Ion Battery Apparent Series Resistance for Mild Hybrid Vehicles, IEEE Transactions on Vehicular Technology, vol. 65, no. 6, June 2016.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.Electrochemical.Battery.LiIonCell + + +

.VirtualFCS.Electrochemical.Battery.LiIonCell

Information

The LiIonCell class implements a simple 2RC equivalent circuit model for a lithium-ion battery cell. This circuit simulates the impedance due to electrochemical reactions and the internal resistance of a lithium ion cell. The model comes pre-programmed with default parameters for lithium iron phosphate (LFP) battery cells.
+

The model includes a ChargeCounter block to keep track of the state of charge (SOC) of the battery via a charge-counting method.
+

The equation for open-circuit voltage as a function of temperature and state of charge is taken from Vichard et al. [1], and is parameterized to the LFP chemistry by default.
+ +
+The battery pack is assumed to have a uniform temperature with a thermal mass based on its heat capacity, Cp, and mass m_bat_pack. The heat generated from passing current through the battery is calculated according to the Heat Generation equation below. The provided heatPort allows connection to cooling systems or other relevant temperature boundary conditions.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Default Battery Parameters
Parameter nameValueUnit
Chemistry=LFP-Graphite --
Size=18650 Cylindrical --
mass=0.045 kg
Charge capacity =2.2 Ah
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Default Equivalent Circuit Parameters
Parameter nameValueUnit
R_0=0.02Ohm
R_1=0.01Ohm
R_2=0.005Ohm
C_1=5000F
C_2=20000F
+
+
+ + + + + + + + + + + + + + + + +
Default Thermal Parameters
Parameter nameValueUnit
specificHeatCapacity=1000J/(kg*K)
coolingArea=0.003675m2

+ +
Equations
Open-Circuit Voltage
OCV = A1 + B1*(20 °C - T  °C)/SOC + C1/sqrt(SOC) + D1*SOC + E1*ln(SOC) + F1*ln(1.01 - SOC) + G1*ln(1.001 - SOC) + H1*exp(I1*(T °C))

The coefficients for A1 through I1 are taken from [1] for LFP batteries.

Battery Temperature
m*Cp dT/dt = Qflow

Heat Generation
Qflow = (OCV - Vpin,p)*I


References
+
+
1.
Vichard, L. et al. A method to estimate battery SOH indicators based on vehicle operating data only. Energy 225, 120235 (2021).
+
+ +

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Battery.Parameters.Functions.getOCP_NMC.html b/docs/VirtualFCS.Electrochemical.Battery.Parameters.Functions.getOCP_NMC.html index b66862d..70c5876 100644 --- a/docs/VirtualFCS.Electrochemical.Battery.Parameters.Functions.getOCP_NMC.html +++ b/docs/VirtualFCS.Electrochemical.Battery.Parameters.Functions.getOCP_NMC.html @@ -1,19 +1,19 @@ - - - - VirtualFCS.Electrochemical.Battery.Parameters.Functions.getOCP_NMC - - + + + + VirtualFCS.Electrochemical.Battery.Parameters.Functions.getOCP_NMC + +

.VirtualFCS.Electrochemical.Battery.Parameters.Functions.getOCP_NMC

Interface

function getOCP_NMC
   extends Modelica.Icons.Function;
   input Real SOC "State of Charge";
-  output SI.ElectricPotential OCP "Open-Circuit Potential";
+  output Modelica.Units.SI.ElectricPotential OCP "Open-Circuit Potential";
   Real A0 = 2.951;
   Real A1 = 1;
   Real A2 = -0.05;
   Real A3 = -0.4;
   Real A4 = -0.085;
 end getOCP_NMC;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Battery.Parameters.Functions.html b/docs/VirtualFCS.Electrochemical.Battery.Parameters.Functions.html index c6062de..5ad58ff 100644 --- a/docs/VirtualFCS.Electrochemical.Battery.Parameters.Functions.html +++ b/docs/VirtualFCS.Electrochemical.Battery.Parameters.Functions.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Electrochemical.Battery.Parameters.Functions - - + + + + VirtualFCS.Electrochemical.Battery.Parameters.Functions + +

.VirtualFCS.Electrochemical.Battery.Parameters.Functions

Contents

NameDescription
getOCP_NMC

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Battery.Parameters.html b/docs/VirtualFCS.Electrochemical.Battery.Parameters.html index 252d16d..c79cea5 100644 --- a/docs/VirtualFCS.Electrochemical.Battery.Parameters.html +++ b/docs/VirtualFCS.Electrochemical.Battery.Parameters.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Electrochemical.Battery.Parameters - - -

.VirtualFCS.Electrochemical.Battery.Parameters

Information

Parameters for battery models

Contents

+ + + + VirtualFCS.Electrochemical.Battery.Parameters + + +

.VirtualFCS.Electrochemical.Battery.Parameters

Information

This package includes functions to calculate the battery's open-circuit potential for various chemistries based on state of charge, SOC. 

As of February 2022, it is not used in any other Virtual-FCS model or component, but is included in the releases anyway as a placeholder for future development. Ideally, this framework can be used to select between different battery chemistries in a vehicle model.

Contents

NameDescription
Functions

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Battery.html b/docs/VirtualFCS.Electrochemical.Battery.html index 83db5c6..a6cd3ab 100644 --- a/docs/VirtualFCS.Electrochemical.Battery.html +++ b/docs/VirtualFCS.Electrochemical.Battery.html @@ -1,26 +1,19 @@ - - - - VirtualFCS.Electrochemical.Battery - - -

.VirtualFCS.Electrochemical.Battery

Information

This sub-package includes 

+ + + + VirtualFCS.Electrochemical.Battery + + +

.VirtualFCS.Electrochemical.Battery

Information

This sub-package includes models for simulating the performance of lithium-ion cells and packs.

Name
- - - - - - - - - - - + + + +
Name Description Version
LiIonCellSimulates lithium iron phosphate (LFP) cellLIC.no.ddmmyy
LiIonBatPackCompSimulates individual LFP cells in a battery packLBPC.no.ddmmyy
LiIonBatPackLumpSimulates LFP total number of cells in a battery packLBPL.no.ddmmyySimulates lithium-ion battery cell2022.1.0
LiIonBatteryPack_CompositeSimulates individual lithium-ion battery cells in a battery pack by automatically generating multiple instances of LiIonCell.2022.1.0
LiIonBatteryPack_LumpedSimulates lithium-ion battery pack given a number of cells, assuming every cell is identical.2022.1.0
@@ -28,7 +21,8 @@

.LiIonCellAn equivalent circuit model for a Li-ion battery cell. LiIonBatteryPack_CompositeA Li-ion battery pack comprised of individual Li-ion cell models. -LiIonBatteryPack_LumpedA Li-ion battery pack model comprised of a single lumped battery model. +LiIonBatteryPack_LumpedA Li-ion battery pack model comprising a single lumped battery model. +BatterySystem ParametersParameters for battery models
Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Anode_Medium.html b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Anode_Medium.html index 170d7fb..3fc6976 100644 --- a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Anode_Medium.html +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Anode_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Electrochemical.Hydrogen.FuelCell.Anode_Medium - - + + + + VirtualFCS.Electrochemical.Hydrogen.FuelCell.Anode_Medium + +

.VirtualFCS.Electrochemical.Hydrogen.FuelCell.Anode_Medium

Definition

package Anode_Medium = Modelica.Media.IdealGases.SingleGases.H2;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Cathode_Medium.html b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Cathode_Medium.html index 28837ba..fde97f7 100644 --- a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Cathode_Medium.html +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Cathode_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Electrochemical.Hydrogen.FuelCell.Cathode_Medium - - + + + + VirtualFCS.Electrochemical.Hydrogen.FuelCell.Cathode_Medium + +

.VirtualFCS.Electrochemical.Hydrogen.FuelCell.Cathode_Medium

Definition

package Cathode_Medium = Modelica.Media.Air.MoistAir;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Coolant_Medium.html b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Coolant_Medium.html index 1b00888..f27aa14 100644 --- a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Coolant_Medium.html +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.Coolant_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Electrochemical.Hydrogen.FuelCell.Coolant_Medium - - + + + + VirtualFCS.Electrochemical.Hydrogen.FuelCell.Coolant_Medium + +

.VirtualFCS.Electrochemical.Hydrogen.FuelCell.Coolant_Medium

Definition

package Coolant_Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.html b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.html index 55ae811..0b9e1db 100644 --- a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.html +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCell.html @@ -1,12 +1,97 @@ - - - - VirtualFCS.Electrochemical.Hydrogen.FuelCell - - -

.VirtualFCS.Electrochemical.Hydrogen.FuelCell

Information

Model for a single PEM fuel cell

Contents

+ + + + VirtualFCS.Electrochemical.Hydrogen.FuelCell + + +

.VirtualFCS.Electrochemical.Hydrogen.FuelCell

Information

This model describes the dynamic behaviour of a proton exchange membrane fuel cell (PEMFC). The model includes components describing the electrical, fluidic, and thermal properties of the cell. 

The electrical performance is modelled using a 0-D polarization curve model , which incorporates Nernstian thermodynamic effects due to hydrogen and oxygen pressure changes, Tafel kinetics to calculate activation overpotentials, and an empirical relationship to calculate mass-transport overpotentials. These effects are combined in potentialSource.v,which calculates the open-circuit voltage for a single cell, adjusts for hydrogen and oxygen partial pressures, subtracts the activation and mass-transport overpotentials, and finally multiplies by the number of cells in the stack. A simple resistor is included after the potential source to cover all Ohmic resistive losses in the fuel cell.

The fluidic performance is modelled using simple ideal flow components for the air and hydrogen gas lines, connected to mass sink boundary conditions. The magnitude of the mass sink is coupled to the electrical current in the cell using Faraday's law. 

The thermal performance is considered by coupling a model describing the flow of liquid coolant to a thermal heat source. The magnitude of the heat source is calculated using the higher heating value of hydrogen and the calculated electrical voltage of the cell.

The hydrogen, air, and coolant ports can be connected to their respective subsystems, either by using the FuelCellSubSystems block, or individual SubSystemHydrogenSubSystemAir, and SubSystemCooling blocks.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Default Parameters
Parameter nameValueUnit
mass=1 kg
volume=0.001m3
Cp=800J/(kg.K)
N_cell =1-
A_cell =0.0237m2
i_0=0.0002A
i_L=520A
i_x=0.001 A
b_1=0.025 V/dec
b_2=0.25V/dec
R_0=0.02Ohm
R_1=0.01Ohm
C_1=0.003F

+
Electrochemical equations:
In the equations below, istack represents the current flowing through the stack, accessible in the code as currentSensor.i.

The Nernst equilibrium potential

UFCNernst = (U0 -((RT)/(2F) ln( 1/(pH2 (pO20.5))), U= 1.229 V

Activation overpotential

ηact = bln( 1-(icell + ix) / i0)

Concentration overpotential

ηcon = -bln( 1-(icell + ix) / iL)

Cell voltage

Vcell = Ncell (UFCNernst - ηact  - iFCR0 - ηcon)

Thermal equations:

Electrochemical heat generation

Qgen = (VTN - Vcell)icell, VTN = 1.481 V

Contents

NameDescription
Cathode_Medium
Anode_Medium
Coolant_Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Anode_Medium.html b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Anode_Medium.html index 9fab5de..d8e67f9 100644 --- a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Anode_Medium.html +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Anode_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Anode_Medium - - + + + + VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Anode_Medium + +

.VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Anode_Medium

Definition

package Anode_Medium = Modelica.Media.IdealGases.SingleGases.H2;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Cathode_Medium.html b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Cathode_Medium.html index 82d2ca1..dbcb24b 100644 --- a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Cathode_Medium.html +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Cathode_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Cathode_Medium - - + + + + VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Cathode_Medium + +

.VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Cathode_Medium

Definition

package Cathode_Medium = Modelica.Media.Air.MoistAir;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Coolant_Medium.html b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Coolant_Medium.html index c9f2a94..06444de 100644 --- a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Coolant_Medium.html +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Coolant_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Coolant_Medium - - + + + + VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Coolant_Medium + +

.VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.Coolant_Medium

Definition

package Coolant_Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.html b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.html index 71e34e0..5ec5fcc 100644 --- a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.html +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellStack.html @@ -1,12 +1,109 @@ - - - - VirtualFCS.Electrochemical.Hydrogen.FuelCellStack - - -

.VirtualFCS.Electrochemical.Hydrogen.FuelCellStack

Information

This model describes the dynamic behaviour of a proton exchange membrane fuel cell (PEMFC) stack. The model includes components describing the electrical, fluidic, and thermal properties of the stack.

The electrical performance is modelled using a simple 1RC equivalent circuit. 

The fluidic performance is modelled using simple ideal flow components for the air and hydrogen gas lines, connected to mass sink boundary conditions. The magnitude of the mass sink is coupled to the electrical current in the stack using Faraday's law. 

The thermal performance is considered by coupling a model describing the flow of liquid coolant to a thermal heat source. The magnitude of the heat source is calculated using the higher heating value of hydrogen and the calculated electrical voltage of the cell. 

Default Parameters
mass  = 50  kg
volume  = 0.001  m3

Cp  = 800  J/(kg.K)
N_cell  = 100
A_cell  = 0.0237  m2

i_0  = 0.0002  A
i_L  = 520  A
i_x = 0.001
b_1  = 0.025  V/dec
b_2  = 0.25  V/dec
R_0  = 0.02  Ohm
R_1  = 0.01  Ohm
C_1  = 0.003  F

Contents

+ + + + VirtualFCS.Electrochemical.Hydrogen.FuelCellStack + + +

.VirtualFCS.Electrochemical.Hydrogen.FuelCellStack

Information

This model describes the dynamic behaviour of a proton exchange membrane fuel cell (PEMFC) stack. The model includes components describing the electrical, fluidic, and thermal properties of the stack. 

The electrical performance is modelled using a 0-D polarization curve model , which incorporates Nernstian thermodynamic effects due to hydrogen and oxygen pressure changes, Tafel kinetics to calculate activation overpotentials, and an empirical relationship to calculate mass-transport overpotentials. These effects are combined in potentialSource.v,which calculates the open-circuit voltage for a single cell, adjusts for hydrogen and oxygen partial pressures, subtracts the activation and mass-transport overpotentials, and finally multiplies by the number of cells in the stack. A simple resistor is included after the potential source to cover all Ohmic resistive losses in the fuel cell. Default parameters fit the polarization curve given by Powercell in their Powercellution data sheet, available here.

The fluidic performance is modelled using simple ideal flow components for the air and hydrogen gas lines, connected to mass sink boundary conditions. The magnitude of the mass sink is coupled to the electrical current in the stack using Faraday's law.   +

The thermal performance is considered by coupling a model describing the flow of liquid coolant to a thermal heat source. The magnitude of the heat source is calculated using the higher heating value of hydrogen and the calculated electrical voltage of the cell.

The hydrogen, air, and coolant ports can be connected to their respective subsystems, either by using the FuelCellSubSystems block, or individual SubSystemHydrogen, SubSystemAir, and SubSystemCooling blocks.
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Default Parameters
Parameter nameValueUnit
m_FC_stack=42kg
L_FC_stack=0.42m
W_FC_stack=0.582m
H_FC_stack=0.156m
I_rated_FC_stack=450A
i_L_FC_stack=760A
N_FC_stack=455-
i_0_FC_stack=0.0091A
i_x_FC_stack=0.001A
b_1_FC_stack=0.0985V/dec
b_2_FC_stack=0.0985V/dec
R_0=0.00022*N_FC_stackOhm
Cp=1100J/(kg.K)



+ + + +
Electrochemical equations:
In the equations below, istack represents the current flowing through the stack, accessible in the code as currentSensor.i.
+

The Nernst equilibrium potential, per cell 

+

UFCNernst = (U0 -((RT)/(2F) ln( 1/(pH2 (pO20.5))), U0 = 1.229 V

+

Activation overpotential, per cell

+

ηact = b1 ln( 1-(istack + ix) / i0)

+

Concentration overpotential, per cell

+

ηcon = -b2 ln( 1-(istack + ix) / iL)

Stack voltage

Vstack = Ncell (UFCNernst - ηact  - iFCR0 - ηcon)

+

Thermal equations:

+

Electrochemical heat generation

+

Qgen = (VTN - Vstack)istack, VTN = 1.481 V

+


+

 

+ + +

Contents

NameDescription
Cathode_Medium
Anode_Medium
Coolant_Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellSystem.html b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellSystem.html new file mode 100644 index 0000000..48a4f16 --- /dev/null +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.FuelCellSystem.html @@ -0,0 +1,9 @@ + + + + VirtualFCS.Electrochemical.Hydrogen.FuelCellSystem + + +

.VirtualFCS.Electrochemical.Hydrogen.FuelCellSystem

Information

The FuelCellSystem class packages together a FuelCellStack module and a FuelCellSubSystems module for controlling hydrogen, air, and coolant feeds into and out of the fuel cell.

The hydrogen, air, and coolant ports can be connected to their respective subsystems, either by using theblock, or individual SubSystemHydrogenSubSystemAir, and SubSystemCooling blocks.

In addition to the coolant subsystem, it is assumed that the fuel cell stack exchanges heat with its surroundings by convection and radiation.

Default parameters fit the polarization curve given by Powercell in their Powercellution data sheet, available here.
  +
Default Parameters
Parameter nameValueUnit
m_FC_stack=42kg
L_FC_stack=0.42m
W_FC_stack=0.582m
H_FC_stack=0.156m
I_rated_FC_stack=450A
i_L_FC_stack=760A
N_FC_stack=455-
V_tank_H2=0.13m3
p_tank_H2=35000000Pa
heatTransferCoefficient=12W/(m2 K)

Equations


Convective Heat Transfer
Qconv = hAcool(T  T0); T0 = 293 K

Radiative Heat Transfer
Qrad = 0.95Acoolσ(T4  T04), T0 = 293 K

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.Hydrogen.html b/docs/VirtualFCS.Electrochemical.Hydrogen.html index 6994f6d..1c95d48 100644 --- a/docs/VirtualFCS.Electrochemical.Hydrogen.html +++ b/docs/VirtualFCS.Electrochemical.Hydrogen.html @@ -1,17 +1,17 @@ - - - - VirtualFCS.Electrochemical.Hydrogen - - -

.VirtualFCS.Electrochemical.Hydrogen

Information

This sub-package includes 

+ + + + VirtualFCS.Electrochemical.Hydrogen + + +

.VirtualFCS.Electrochemical.Hydrogen

Information

This sub-package includes 

Name
- +
Name Description Version
FuelCellStack Simulates proton exchange membrane fuel cell stackFCS.1.ddmmyy2022.1.0
@@ -19,6 +19,7 @@

.FuelCellModel for a single PEM fuel cell -FuelCellStackModel for a PEM fuel cell stack +FuelCellStack +FuelCellSystem
Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.UsersGuide.html b/docs/VirtualFCS.Electrochemical.UsersGuide.html index 39a92a5..c8fadbe 100644 --- a/docs/VirtualFCS.Electrochemical.UsersGuide.html +++ b/docs/VirtualFCS.Electrochemical.UsersGuide.html @@ -1,9 +1,9 @@ - - - - VirtualFCS.Electrochemical.UsersGuide - - + + + + VirtualFCS.Electrochemical.UsersGuide + +

.VirtualFCS.Electrochemical.UsersGuide

Information

This sub-package includes electrochemical power sources and supporting components. @@ -13,7 +13,7 @@

. + @@ -21,17 +21,11 @@

.Battery -

- - - - - - - + +
Name DescriptionIt includes the models for batteries with different chemistriesB.no.ddmmyy
HydrogenIt includes the models for fuel cell and fuel cell stack H.no.ddmmyyModels for battery cells and packs with different chemistries
HydrogenModels for fuel cell and fuel cell stack

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Electrochemical.html b/docs/VirtualFCS.Electrochemical.html index d8c33ac..55dbbc1 100644 --- a/docs/VirtualFCS.Electrochemical.html +++ b/docs/VirtualFCS.Electrochemical.html @@ -1,12 +1,12 @@ - - - - VirtualFCS.Electrochemical - - + + + + VirtualFCS.Electrochemical + +

.VirtualFCS.Electrochemical

Information

Electrochemical energy storage and conversion devices.

Contents

NameDescription
UsersGuideUser information for the Electrochemical sub-library
BatteryModels for battery cells and packs.
HydrogenModels for hydrogen fuel cell devices.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.CycleBatterPack_Lumped.html b/docs/VirtualFCS.Examples.CycleBatterPack_Lumped.html deleted file mode 100644 index 352abe8..0000000 --- a/docs/VirtualFCS.Examples.CycleBatterPack_Lumped.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - VirtualFCS.Examples.CycleBatterPack_Lumped - - -

.VirtualFCS.Examples.CycleBatterPack_Lumped

Information

This example demonstrates a single charge-discharge cycle for a Li-ion battery pack. The battery is charged at 1C to its upper voltage limit and held as the current drops. Likewise, the cell is discharged at 1C until it reaches its lower voltage limit. 

The pack considered in this example is a lumped model considering the summed performance of all the cells in the pack. For investigations where cell-level resolution is necessary (e.g. cell balancing), please see LiIonBatteryPack_Composite.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.CycleBatteryCell.html b/docs/VirtualFCS.Examples.CycleBatteryCell.html deleted file mode 100644 index 7cfa701..0000000 --- a/docs/VirtualFCS.Examples.CycleBatteryCell.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - VirtualFCS.Examples.CycleBatteryCell - - -

.VirtualFCS.Examples.CycleBatteryCell

Information

This example demonstrates a single charge-discharge cycle for a Li-ion battery cell. The battery is charged at 1C to its upper voltage limit and held as the current drops. Likewise, the cell is discharged at 1C until it reaches its lower voltage limit. 
Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.CycleBatteryPack_Composite.html b/docs/VirtualFCS.Examples.CycleBatteryPack_Composite.html deleted file mode 100644 index 3a388d6..0000000 --- a/docs/VirtualFCS.Examples.CycleBatteryPack_Composite.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - VirtualFCS.Examples.CycleBatteryPack_Composite - - -

.VirtualFCS.Examples.CycleBatteryPack_Composite

Information

This example demonstrates a single charge-discharge cycle for a Li-ion battery pack. The battery is charged at 1C to its upper voltage limit and held as the current drops. Likewise, the cell is discharged at 1C until it reaches its lower voltage limit. 

The pack considered in this example is a composite model featuring encompassing individual models for the cells it contains. This is advantageous for potentially investigating cell-resolve topics (e.g. cell balancing), but can lead to very large systems of equations. For a more efficient battery pack model, please see LiIonBatteryPack_Lumped.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryCell.html b/docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryCell.html new file mode 100644 index 0000000..af7185d --- /dev/null +++ b/docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryCell.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryCell + + +

.VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryCell

Information

This example demonstrates a single charge-discharge cycle for a Li-ion battery cell. The battery is charged at 1C to its upper voltage limit and held as the current drops. Likewise, the cell is discharged at 1C until it reaches its lower voltage limit. 
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Composite.html b/docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Composite.html new file mode 100644 index 0000000..927932a --- /dev/null +++ b/docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Composite.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Composite + + +

.VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Composite

Information

This example demonstrates a single charge-discharge cycle for a Li-ion battery pack using the LiIonBatteryPack_Composite class. The example is set up to contain nine lithium-ion batteries, with three parallel sets of three batteries in series. The battery pack is charged at 1C to its upper voltage limit and held as the current drops. Likewise, the cell is discharged at 1C until it reaches its lower voltage limit. 

The pack considered in this example is a composite model with a separate instance of LiIonCell for each cell in the pack. For investigations where cell-level resolution is not necessary and faster runtime required, please see LiIonBatteryPack_Lumped.

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Lumped.html b/docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Lumped.html new file mode 100644 index 0000000..38acebe --- /dev/null +++ b/docs/VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Lumped.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Lumped + + +

.VirtualFCS.Examples.ElectrochemicalComponents.CycleBatteryPack_Lumped

Information

This example demonstrates a single charge-discharge cycle for a Li-ion battery pack. The battery is charged at 1C to its upper voltage limit and held as the current drops. Likewise, the cell is discharged at 1C until it reaches its lower voltage limit. 

The pack considered in this example is a lumped model considering the summed performance of all the cells in the pack. For investigations where cell-level resolution is necessary (e.g. cell balancing), please see LiIonBatteryPack_Composite.

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.PolarizeFuelCellStack.Anode_Medium.html b/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Anode_Medium.html similarity index 51% rename from docs/VirtualFCS.Examples.PolarizeFuelCellStack.Anode_Medium.html rename to docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Anode_Medium.html index 7f135b6..f6c4c22 100644 --- a/docs/VirtualFCS.Examples.PolarizeFuelCellStack.Anode_Medium.html +++ b/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Anode_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Examples.PolarizeFuelCellStack.Anode_Medium - - -

.VirtualFCS.Examples.PolarizeFuelCellStack.Anode_Medium

+ + + + VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Anode_Medium + + +

.VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Anode_Medium

Definition

package Anode_Medium = Modelica.Media.IdealGases.SingleGases.H2;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Cathode_Medium.html b/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Cathode_Medium.html new file mode 100644 index 0000000..4d6b5f6 --- /dev/null +++ b/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Cathode_Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Cathode_Medium + + +

.VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Cathode_Medium

+

Definition

+
package Cathode_Medium = Modelica.Media.Air.MoistAir;

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Coolant_Medium.html b/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Coolant_Medium.html new file mode 100644 index 0000000..ea07b7b --- /dev/null +++ b/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Coolant_Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Coolant_Medium + + +

.VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.Coolant_Medium

+

Definition

+
package Coolant_Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.html b/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.html new file mode 100644 index 0000000..d733590 --- /dev/null +++ b/docs/VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack.html @@ -0,0 +1,12 @@ + + + + VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack + + +

.VirtualFCS.Examples.ElectrochemicalComponents.PolarizeFuelCellStack

Information

This example demonstrates the setup for a fuel cell system to generate a polarization curve. The fuel cell stack is connected to subsystems for hydrogen, air, and cooling. The electrical load is provided by a ramp voltage source that sweeps the current domain over a period of 500 seconds. 

Contents

+ + + +
NameDescription
Anode_Medium
Cathode_Medium
Coolant_Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.ElectrochemicalComponents.html b/docs/VirtualFCS.Examples.ElectrochemicalComponents.html new file mode 100644 index 0000000..425d7b0 --- /dev/null +++ b/docs/VirtualFCS.Examples.ElectrochemicalComponents.html @@ -0,0 +1,13 @@ + + + + VirtualFCS.Examples.ElectrochemicalComponents + + +

.VirtualFCS.Examples.ElectrochemicalComponents

Contents

+ + + + +
NameDescription
CycleBatteryCellExample demonstrating constant-current constant-voltage cycling of a Li-ion battery cell.
PolarizeFuelCellStackGenerate a polarization curve for a fuel cell stack.
CycleBatteryPack_CompositeExample demonstrating constant-current constant-voltage cycling of a composite Li-ion battery pack model.
CycleBatteryPack_LumpedExample demonstrating constant-current constant-voltage cycling of a lumped Li-ion battery pack model.

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.PolarizeFuelCellStack.html b/docs/VirtualFCS.Examples.PolarizeFuelCellStack.html deleted file mode 100644 index 8b2591e..0000000 --- a/docs/VirtualFCS.Examples.PolarizeFuelCellStack.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - VirtualFCS.Examples.PolarizeFuelCellStack - - -

.VirtualFCS.Examples.PolarizeFuelCellStack

Information

This example demonstrates the setup for a fuel cell system to generate a polarization curve. The fuel cell stack is connected to subsystems for hydrogen, air, and cooling. The electrical load is provided by a ramp voltage source that sweeps the current domain over a period of 500 seconds. 

Contents

- - - -
NameDescription
Anode_Medium
Cathode_Medium
Coolant_Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_RealTime.html b/docs/VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_RealTime.html new file mode 100644 index 0000000..8b04943 --- /dev/null +++ b/docs/VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_RealTime.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_RealTime + + +

.VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_RealTime

Information

This example demonstrates the galvanostatic operation of a Li-ion battery cell in real time. The battery is set to discharge and charge at a 1C rate in 30 second intervals over a 2 minute period. 

Requires that the user load the library: Modelica_DeviceDrivers

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_UserControl.html b/docs/VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_UserControl.html new file mode 100644 index 0000000..0117ae3 --- /dev/null +++ b/docs/VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_UserControl.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_UserControl + + +

.VirtualFCS.Examples.RealTimeExamples.CycleBatteryCell_UserControl

Information

This example demonstrates the galvanostatic operation of a Li-ion battery cell in real time over a period of 30 seconds with the current set by the user via the up and down arrows on the keyboard. 

Requires that the user load the library: Modelica_DeviceDrivers

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.RealTimeExamples.TestThrottleKeys.html b/docs/VirtualFCS.Examples.RealTimeExamples.TestThrottleKeys.html new file mode 100644 index 0000000..f993e53 --- /dev/null +++ b/docs/VirtualFCS.Examples.RealTimeExamples.TestThrottleKeys.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Examples.RealTimeExamples.TestThrottleKeys + + +

.VirtualFCS.Examples.RealTimeExamples.TestThrottleKeys

Information

This example reads the state of the up and down arrows on the keyboard in real time. 

Requires the user to load the library: Modelica_DeviceDrivers

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.RealTimeExamples.html b/docs/VirtualFCS.Examples.RealTimeExamples.html new file mode 100644 index 0000000..22ef948 --- /dev/null +++ b/docs/VirtualFCS.Examples.RealTimeExamples.html @@ -0,0 +1,12 @@ + + + + VirtualFCS.Examples.RealTimeExamples + + +

.VirtualFCS.Examples.RealTimeExamples

Information

Examples demonstrating real time simulation functionality of the library.

Requires the user to load the library: Modelica_DeviceDrivers

Contents

+ + + +
NameDescription
TestThrottleKeys
CycleBatteryCell_RealTimeExample demonstrating constant-current constant-voltage cycling of a Li-ion battery cell.
CycleBatteryCell_UserControlExample demonstrating real time user controlled galvanostatic operation of a Li-ion battery cell.

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.Medium.html b/docs/VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.Medium.html new file mode 100644 index 0000000..b580667 --- /dev/null +++ b/docs/VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.Medium + + +

.VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.Medium

+

Definition

+
package Medium = Modelica.Media.Air.MoistAir(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.html b/docs/VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.html new file mode 100644 index 0000000..0f29548 --- /dev/null +++ b/docs/VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem.html @@ -0,0 +1,14 @@ + + + + VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem + + +

.VirtualFCS.Examples.SubsystemExamples.TestAirSubsystem

Information

This example is intended as a means to evaluate the performance of the air subsystem both for optimization and troubleshooting purposes.


Description

The model has three parts (1) Input (includes fuel cell current and its conversion to air mass flow rate), (2) Air Sub System (includes Air Tank, pressure regulator, CompressorThrottle Valve and Air SubSystem Control), and (3) Power supply (Battery System). The model simulates influence of fuel cell current on air flow rate.


References to base model/related packages

 Air Sub System and Battery System

+ +

 

+ +

Contents

+ +
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.Medium.html b/docs/VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.Medium.html new file mode 100644 index 0000000..c10b86a --- /dev/null +++ b/docs/VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.Medium + + +

.VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.Medium

+

Definition

+
package Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.html b/docs/VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.html new file mode 100644 index 0000000..ea3b5b3 --- /dev/null +++ b/docs/VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem.html @@ -0,0 +1,1363 @@ + + + + VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem + + +

.VirtualFCS.Examples.SubsystemExamples.TestCoolingSubsystem

Information

This example is intended as a means to evaluate the performance of the cooling subsystem both for optimization and troubleshooting purposes.

+ + + + + + + + + + + + + + + +

What it does- Significance/purpose

+ + + + + + + + + + + + + +Cooling system regulates the stack working +temperature to its setpoint, takes away the electrochemical reaction heat +generated through circulated cooling water. In contemprary automotive vehicles, a cooling system uses mixture of 50% ethylene glycol and 50% water as the coolant as it can +operate at sub-zero temperatures. 

+ +

References to base model/related packages

+ +

Cooling sub system, Cooling sub system control and Battery system

+ +

 

+ +

Operation- Explain with diagram view

This example comprises of three parts Input signal (temperature), Cooling sub system, Battery system. The cooling sub system includes devices such as coolant tank, pre-heater, pump, and heat sink pumps to circulate the liquid coolant stream. Typically, these devices consume some power produced by the fuel cell stack but here they are powered by auxillary battery system. 


+ +

Operational range


+ +

Initial/default inputs (unique conditions if any)

  1. Get Temperature
  2. Cooling system mass
  3. Battery system Specification (as listed here)

+ +

List of output parameters under consideration and their +expected range. Explain with +graph

+ +

 

Future work

The selection of fan, blower, or pump depends on the required cooling rate, overcoming any pressure drop in the coolant channels, and meeting overall system electrical efficiency, weight, and volume requirements. 

+ +

Contents

+ +
NameDescription
Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.Anode_Medium.html b/docs/VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.Anode_Medium.html new file mode 100644 index 0000000..f9ba340 --- /dev/null +++ b/docs/VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.Anode_Medium.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.Anode_Medium + + +

.VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.Anode_Medium

+

Definition

+
package Anode_Medium = Modelica.Media.IdealGases.SingleGases.H2(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.html b/docs/VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.html new file mode 100644 index 0000000..5030e57 --- /dev/null +++ b/docs/VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem.html @@ -0,0 +1,733 @@ + + + + VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem + + +

.VirtualFCS.Examples.SubsystemExamples.TestHydrogenSubsystem

Information

This example is intended as a means to evaluate the performance of the hydrogen subsystem both for optimization and troubleshooting purposes.


Description

The model has three parts (1) input (includes fuel cell current and its conversion to hydrogen mass flow rate), (2) hydrogen subsystem (includes hydrogen tank, pressure regulator, recirculation blower, purge valve and control system), and (3) power supply (battery system). 


References to base model/related packages

 Subsystem Hydrogen ControlRecirculation BlowerPressure RegulatorPurge Valve and Battery System

 


+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

 

+ +

+ +

+ + + + + + + +

+ + + + + +

+ +

Contents

+ +
NameDescription
Anode_Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.SubsystemExamples.html b/docs/VirtualFCS.Examples.SubsystemExamples.html new file mode 100644 index 0000000..cb3d5ce --- /dev/null +++ b/docs/VirtualFCS.Examples.SubsystemExamples.html @@ -0,0 +1,12 @@ + + + + VirtualFCS.Examples.SubsystemExamples + + +

.VirtualFCS.Examples.SubsystemExamples

Contents

+ + + +
NameDescription
TestAirSubsystemExample to evaluate the performance of the air subsystem.
TestCoolingSubsystemExample to evaluate the performance of the cooling subsystem.
TestHydrogenSubsystemExample to evaluate the performance of the hydrogen subsystem.

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.TestAirSubsystem.Medium.html b/docs/VirtualFCS.Examples.TestAirSubsystem.Medium.html deleted file mode 100644 index ad6b836..0000000 --- a/docs/VirtualFCS.Examples.TestAirSubsystem.Medium.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - VirtualFCS.Examples.TestAirSubsystem.Medium - - -

.VirtualFCS.Examples.TestAirSubsystem.Medium

-

Definition

-
package Medium = Modelica.Media.Air.MoistAir;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.TestAirSubsystem.html b/docs/VirtualFCS.Examples.TestAirSubsystem.html deleted file mode 100644 index 6f12a09..0000000 --- a/docs/VirtualFCS.Examples.TestAirSubsystem.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - VirtualFCS.Examples.TestAirSubsystem - - -

.VirtualFCS.Examples.TestAirSubsystem

Information

This example is intended as a means to evaluate the performance of the air subsystem both for optimization and troubleshooting purposes.

Contents

- -
NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.TestCoolingSubsystem.html b/docs/VirtualFCS.Examples.TestCoolingSubsystem.html deleted file mode 100644 index 36577ef..0000000 --- a/docs/VirtualFCS.Examples.TestCoolingSubsystem.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - VirtualFCS.Examples.TestCoolingSubsystem - - -

.VirtualFCS.Examples.TestCoolingSubsystem

Information

This example is intended as a means to evaluate the performance of the cooling subsystem both for optimization and troubleshooting purposes.

Contents

- -
NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.TestHydrogenSubsystem.html b/docs/VirtualFCS.Examples.TestHydrogenSubsystem.html deleted file mode 100644 index 719df02..0000000 --- a/docs/VirtualFCS.Examples.TestHydrogenSubsystem.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - VirtualFCS.Examples.TestHydrogenSubsystem - - -

.VirtualFCS.Examples.TestHydrogenSubsystem

Information

This example is intended as a means to evaluate the performance of the hydrogen subsystem both for optimization and troubleshooting purposes.

Contents

- -
NameDescription
Anode_Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.TestThrottleKeys.html b/docs/VirtualFCS.Examples.TestThrottleKeys.html deleted file mode 100644 index be0875d..0000000 --- a/docs/VirtualFCS.Examples.TestThrottleKeys.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - VirtualFCS.Examples.TestThrottleKeys - - -

.VirtualFCS.Examples.TestThrottleKeys


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle.html b/docs/VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle.html new file mode 100644 index 0000000..d04de1a --- /dev/null +++ b/docs/VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle + + +

.VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle_JoystickControl.html b/docs/VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle_JoystickControl.html new file mode 100644 index 0000000..8ca245f --- /dev/null +++ b/docs/VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle_JoystickControl.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle_JoystickControl + + +

.VirtualFCS.Examples.VehicleExamples.BatteryElectricVehicle_JoystickControl


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.VehicleExamples.RangeExtenderHybridVehicle.html b/docs/VirtualFCS.Examples.VehicleExamples.RangeExtenderHybridVehicle.html new file mode 100644 index 0000000..2d993a6 --- /dev/null +++ b/docs/VirtualFCS.Examples.VehicleExamples.RangeExtenderHybridVehicle.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Examples.VehicleExamples.RangeExtenderHybridVehicle + + +

.VirtualFCS.Examples.VehicleExamples.RangeExtenderHybridVehicle


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.VehicleExamples.html b/docs/VirtualFCS.Examples.VehicleExamples.html new file mode 100644 index 0000000..4e01831 --- /dev/null +++ b/docs/VirtualFCS.Examples.VehicleExamples.html @@ -0,0 +1,12 @@ + + + + VirtualFCS.Examples.VehicleExamples + + +

.VirtualFCS.Examples.VehicleExamples

Contents

+ + + +
NameDescription
BatteryElectricVehicle
RangeExtenderHybridVehicle
BatteryElectricVehicle_JoystickControl

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.VehicleRangeExtender.html b/docs/VirtualFCS.Examples.VehicleRangeExtender.html deleted file mode 100644 index 778d5f5..0000000 --- a/docs/VirtualFCS.Examples.VehicleRangeExtender.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - VirtualFCS.Examples.VehicleRangeExtender - - -

.VirtualFCS.Examples.VehicleRangeExtender

Information

This example demonstrates the use of the VirtualFCS library to simulate the performance of a hybrid fuel cell range extender for an electric vehicle.

The model includes three power sources: a high voltage Li-ion battery pack to power the vehicle, a fuel cell stack to extend the range of the vehicle, and a low-voltage Li-ion battery pack to power the vehicle support systems.

The operation profiles of the two batteries are controlled using dedicated battery management systems. The division of power demand between the battery and fuel cell is achieved in the energy management system.  

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.html b/docs/VirtualFCS.Examples.html index a46b54b..5cc5930 100644 --- a/docs/VirtualFCS.Examples.html +++ b/docs/VirtualFCS.Examples.html @@ -1,18 +1,13 @@ - - - - VirtualFCS.Examples - - + + + + VirtualFCS.Examples + +

.VirtualFCS.Examples

Information

These examples are intended to demonstrate the functionality of certain VirtualFCS models and provide a means to test components and subsystems to support troubleshooting during the development process.

Examples include:

CycleBatteryCell
CycleBatteryPack_Composite
CycleBatteryPack_Lumped
PolarizeFuelCellStack
TestAirSubsystem
TestCoolingSubsystem
TestHydrogenSubsystem
VehicleRangeExtender

Contents

- - - - - - - - - +
NameDescription
CycleBatteryCellExample demonstrating constant-current constant-voltage cycling of a Li-ion battery cell.
PolarizeFuelCellStackGenerate a polarization curve for a fuel cell stack.
TestHydrogenSubsystemExample to evaluate the performance of the hydrogen subsystem.
TestAirSubsystemExample to evaluate the performance of the air subsystem.
VehicleRangeExtenderExample of a hybrid fuel cell & battery system as a range extended in an electric vehicle.
CycleBatteryPack_CompositeExample demonstrating constant-current constant-voltage cycling of a composite Li-ion battery pack model.
CycleBatterPack_LumpedExample demonstrating constant-current constant-voltage cycling of a lumped Li-ion battery pack model.
TestCoolingSubsystemExample to evaluate the performance of the cooling subsystem.
TestThrottleKeys
+ + +
NameDescription
ElectrochemicalComponents
RealTimeExamples
SubsystemExamples
VehicleExamples

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.Compressor.Medium.html b/docs/VirtualFCS.Fluid.Compressor.Medium.html index 3af15f4..bd83675 100644 --- a/docs/VirtualFCS.Fluid.Compressor.Medium.html +++ b/docs/VirtualFCS.Fluid.Compressor.Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Fluid.Compressor.Medium - - + + + + VirtualFCS.Fluid.Compressor.Medium + +

.VirtualFCS.Fluid.Compressor.Medium

Definition

-
package Medium = Modelica.Media.Air.MoistAir;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +
package Medium = Modelica.Media.Air.MoistAir(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.Compressor.html b/docs/VirtualFCS.Fluid.Compressor.html index 163cfe7..0ece7ad 100644 --- a/docs/VirtualFCS.Fluid.Compressor.html +++ b/docs/VirtualFCS.Fluid.Compressor.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Fluid.Compressor - - -

.VirtualFCS.Fluid.Compressor

Information

The Compressor model is designed to compress air from the ambient environment to the desired pressure and maintain a sufficient mass flow rate to support the needs of the fuel cell stack. The model features 5 interfaces: fluid ports in and out, electrical ports for positive and negative pins, and a control port. The fluid ports provide the upstream and downstream connections for the compressor, the electrical ports connect to the low-voltage power supply for the BoP components and the control port sets the rpm of the compressor. A DC motor drives the compressor and is connected to an inertia and torque source, which is linked to the resistance of the pump.

Contents

+ + + + VirtualFCS.Fluid.Compressor + + +

.VirtualFCS.Fluid.Compressor

Information

The Compressor model is designed to compress air from the ambient environment to the desired pressure and maintain a sufficient mass flow rate to support the needs of the Fuel Cell Stack

Description

The model features 5 interfaces: fluid ports in and out, electrical ports for positive and negative pins, and a control port. The fluid ports provide the upstream and downstream connections for the compressor, the electrical ports connect to the low-voltage power supply for the BoP components and the control port sets the rpm of the compressor. A DC Motor drives the compressor and is connected to an inertia and torque source, which is linked to the resistance of the Pump.

Contents

NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.PressureRegulator.Medium.html b/docs/VirtualFCS.Fluid.PressureRegulator.Medium.html index c6a17a9..8e45581 100644 --- a/docs/VirtualFCS.Fluid.PressureRegulator.Medium.html +++ b/docs/VirtualFCS.Fluid.PressureRegulator.Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Fluid.PressureRegulator.Medium - - + + + + VirtualFCS.Fluid.PressureRegulator.Medium + +

.VirtualFCS.Fluid.PressureRegulator.Medium

Definition

-
package Medium = Modelica.Media.IdealGases.SingleGases.H2;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +
package Medium = Modelica.Media.IdealGases.SingleGases.H2(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.PressureRegulator.html b/docs/VirtualFCS.Fluid.PressureRegulator.html index 930be95..e9340c0 100644 --- a/docs/VirtualFCS.Fluid.PressureRegulator.html +++ b/docs/VirtualFCS.Fluid.PressureRegulator.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Fluid.PressureRegulator - - + + + + VirtualFCS.Fluid.PressureRegulator + +

.VirtualFCS.Fluid.PressureRegulator

Information

The PressureRegulator model is designed to reduce the pressure from a high-pressure source on the upstream side to a lower pressure on the downstream side by regulating the opening in a compressible fluid valve. Regulation of the valve opening is managed using a PID controller.

Contents

NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.PumpElectricDC.Medium.html b/docs/VirtualFCS.Fluid.PumpElectricDC.Medium.html index 9d979d4..0bd7c06 100644 --- a/docs/VirtualFCS.Fluid.PumpElectricDC.Medium.html +++ b/docs/VirtualFCS.Fluid.PumpElectricDC.Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Fluid.PumpElectricDC.Medium - - + + + + VirtualFCS.Fluid.PumpElectricDC.Medium + +

.VirtualFCS.Fluid.PumpElectricDC.Medium

Definition

package Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.PumpElectricDC.html b/docs/VirtualFCS.Fluid.PumpElectricDC.html index dc7ed37..836f7df 100644 --- a/docs/VirtualFCS.Fluid.PumpElectricDC.html +++ b/docs/VirtualFCS.Fluid.PumpElectricDC.html @@ -1,10 +1,686 @@ - - - - VirtualFCS.Fluid.PumpElectricDC - - -

.VirtualFCS.Fluid.PumpElectricDC

Contents

+ + + + VirtualFCS.Fluid.PumpElectricDC + + +

.VirtualFCS.Fluid.PumpElectricDC

Information

Models a DC pump

+ + + + + + + + + + + + + + + +

References to base model/related packages

Permanent Magnet DC Motor, Prescribed Pump, DC Motor Control

+ +

Description

The model has three parts input (volume flow rate, control signal motor speed), subcomponents (Permanent Magnet DC MotorPrescribed PumpDC Motor Control), and output (pump outlet volume flow rate and sensors (inlet volume flow rate and pump speed).

+ +

The inlet volume flow rate is measured and depending on the rotational speed estimated by the DC Motor Control the Prescribed Pump changes the flow rate accordingly.  


List of components

+ +

Permanent Magnet DC MotorPrescribed PumpDC Motor Control, Speed Sensor, Volume Flow Rate Sensor.

+ +

 

+ +


Contents

NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.RecirculationBlower.Medium.html b/docs/VirtualFCS.Fluid.RecirculationBlower.Medium.html index 3a787b9..29f78f7 100644 --- a/docs/VirtualFCS.Fluid.RecirculationBlower.Medium.html +++ b/docs/VirtualFCS.Fluid.RecirculationBlower.Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Fluid.RecirculationBlower.Medium - - + + + + VirtualFCS.Fluid.RecirculationBlower.Medium + +

.VirtualFCS.Fluid.RecirculationBlower.Medium

Definition

-
package Medium = Modelica.Media.IdealGases.SingleGases.H2;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +
package Medium = Modelica.Media.IdealGases.SingleGases.H2(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.RecirculationBlower.html b/docs/VirtualFCS.Fluid.RecirculationBlower.html index 17b4df6..eb1d3eb 100644 --- a/docs/VirtualFCS.Fluid.RecirculationBlower.html +++ b/docs/VirtualFCS.Fluid.RecirculationBlower.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Fluid.RecirculationBlower - - -

.VirtualFCS.Fluid.RecirculationBlower

Information

The RecirculationBlower model is designed to maintain hydrogen gas circulation within the hydrogen subsystem. The model features 5 interfaces: fluid ports in and out, electrical ports for positive and negative pins, and a control port. The fluid ports provide the upstream and downstream connections for the recirculation blower, the electrical ports connect to the low-voltage power supply for the BoP components and the control port sets the rpm of the blower. A DC motor drives the recirculation blower and is connected to an inertia and torque source, which is linked to the resistance of the pump.

Contents

+ + + + VirtualFCS.Fluid.RecirculationBlower + + +

.VirtualFCS.Fluid.RecirculationBlower

Information

The RecirculationBlower model is designed to maintain hydrogen gas circulation within the hydrogen subsystem. 

Description

The model features 5 interfaces: fluid ports in and out, electrical ports for positive and negative pins, and a control port. The fluid ports provide the upstream and downstream connections for the Recirculation Blower, the electrical ports connect to the low-voltage power supply for the BoP components and the control port sets the rpm of the blower. A DC motor drives the recirculation blower and is connected to an inertia and torque source, which is linked to the resistance of the pump.

Contents

NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.ThrottleValve.Medium.html b/docs/VirtualFCS.Fluid.ThrottleValve.Medium.html index 5e43e39..300a0f1 100644 --- a/docs/VirtualFCS.Fluid.ThrottleValve.Medium.html +++ b/docs/VirtualFCS.Fluid.ThrottleValve.Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Fluid.ThrottleValve.Medium - - + + + + VirtualFCS.Fluid.ThrottleValve.Medium + +

.VirtualFCS.Fluid.ThrottleValve.Medium

Definition

-
package Medium = Modelica.Media.Air.MoistAir;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +
package Medium = Modelica.Media.Air.MoistAir(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.ThrottleValve.html b/docs/VirtualFCS.Fluid.ThrottleValve.html index cac2994..42c185b 100644 --- a/docs/VirtualFCS.Fluid.ThrottleValve.html +++ b/docs/VirtualFCS.Fluid.ThrottleValve.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Fluid.ThrottleValve - - -

.VirtualFCS.Fluid.ThrottleValve

Information

The ThrottleValve model is designed to maintain a set higher pressure on the upstream side relative to a lower pressure on the downstream side by regulating the opening in a compressible fluid valve. Regulation of the valve opening is managed using a PID controller.

Contents

+ + + + VirtualFCS.Fluid.ThrottleValve + + +

.VirtualFCS.Fluid.ThrottleValve

Information

The ThrottleValve model is designed to maintain a set higher pressure on the upstream side relative to a lower pressure on the downstream side.

Description

The model maintains a low pressure on downstream by regulating the opening in a Compressible Fluid Valve. Regulation of the valve opening is managed using a PID controller.

Contents

NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.UsersGuide.html b/docs/VirtualFCS.Fluid.UsersGuide.html index 53fbf49..82f0ec6 100644 --- a/docs/VirtualFCS.Fluid.UsersGuide.html +++ b/docs/VirtualFCS.Fluid.UsersGuide.html @@ -1,37 +1,37 @@ - - - - VirtualFCS.Fluid.UsersGuide - - -

.VirtualFCS.Fluid.UsersGuide

Information

The Fluid category of the VirtualFCS library contains all the components that have to do with the flow of fluids in the system. This sub-package includes 

+ + + + VirtualFCS.Fluid.UsersGuide + + +

.VirtualFCS.Fluid.UsersGuide

Information

The Fluid category of the VirtualFCS library contains all the components that have to do with the flow of fluids in the system. This sub-package includes 

Name
- + - + - + - + - +
Name Description Version
PressureRegulator It regulates valve to maintain desired pressure.PR.1.ddmmyy
PumpElectricDCPED.no.ddmmyy
ThrottleValveIt regulates valve to maintain high pressure on upstream side.TV.no.ddmmyyIt regulates valve to maintain high pressure on upstream side.
RecirculationBlowerIt maintains hydrogen gas circulation in hydrogen subsystem.RB.no.ddmmyyIt maintains hydrogen gas circulation in hydrogen subsystem.
CompressorC.no.ddmmyy

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Fluid.html b/docs/VirtualFCS.Fluid.html index 3b9630b..bb0c754 100644 --- a/docs/VirtualFCS.Fluid.html +++ b/docs/VirtualFCS.Fluid.html @@ -1,15 +1,15 @@ - - - - VirtualFCS.Fluid - - + + + + VirtualFCS.Fluid + +

.VirtualFCS.Fluid

Information

Fluid components supplementing the Modelica Standard Library.

Contents

+ - - +
NameDescription
UsersGuideUser information for the Fluid sub-library
Compressor
PressureRegulator
PumpElectricDC
ThrottleValve
RecirculationBlower
Compressor
ThrottleValve

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Powertrains.BatteryPowerTrain.html b/docs/VirtualFCS.Powertrains.BatteryPowerTrain.html new file mode 100644 index 0000000..40ec711 --- /dev/null +++ b/docs/VirtualFCS.Powertrains.BatteryPowerTrain.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Powertrains.BatteryPowerTrain + + +

.VirtualFCS.Powertrains.BatteryPowerTrain


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Powertrains.ParallelHybridPowerTrain.html b/docs/VirtualFCS.Powertrains.ParallelHybridPowerTrain.html new file mode 100644 index 0000000..9828825 --- /dev/null +++ b/docs/VirtualFCS.Powertrains.ParallelHybridPowerTrain.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Powertrains.ParallelHybridPowerTrain + + +

.VirtualFCS.Powertrains.ParallelHybridPowerTrain


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Powertrains.RangeExtenderPowerTrain.html b/docs/VirtualFCS.Powertrains.RangeExtenderPowerTrain.html new file mode 100644 index 0000000..29d0827 --- /dev/null +++ b/docs/VirtualFCS.Powertrains.RangeExtenderPowerTrain.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Powertrains.RangeExtenderPowerTrain + + +

.VirtualFCS.Powertrains.RangeExtenderPowerTrain


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Powertrains.html b/docs/VirtualFCS.Powertrains.html new file mode 100644 index 0000000..e79f501 --- /dev/null +++ b/docs/VirtualFCS.Powertrains.html @@ -0,0 +1,12 @@ + + + + VirtualFCS.Powertrains + + +

.VirtualFCS.Powertrains

Contents

+ + + +
NameDescription
ParallelHybridPowerTrain
BatteryPowerTrain
RangeExtenderPowerTrain

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Air.SubSystemAir.Medium.html b/docs/VirtualFCS.SubSystems.Air.SubSystemAir.Medium.html index 76f14dd..a412602 100644 --- a/docs/VirtualFCS.SubSystems.Air.SubSystemAir.Medium.html +++ b/docs/VirtualFCS.SubSystems.Air.SubSystemAir.Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.SubSystems.Air.SubSystemAir.Medium - - + + + + VirtualFCS.SubSystems.Air.SubSystemAir.Medium + +

.VirtualFCS.SubSystems.Air.SubSystemAir.Medium

Definition

-
package Medium = Modelica.Media.Air.MoistAir;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +
package Medium = Modelica.Media.Air.MoistAir(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Air.SubSystemAir.html b/docs/VirtualFCS.SubSystems.Air.SubSystemAir.html index 211dd21..0bcd496 100644 --- a/docs/VirtualFCS.SubSystems.Air.SubSystemAir.html +++ b/docs/VirtualFCS.SubSystems.Air.SubSystemAir.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.SubSystems.Air.SubSystemAir - - -

.VirtualFCS.SubSystems.Air.SubSystemAir

Information

An air sub-system template is provided in the example model SubSystemAir. The model consists of an air compressor and throttle valve connected to a fixed boundary condition reflecting the ambient conditions. The subsystem model contains 5 interface connections: fluid ports in and out, electrical ports for positive and negative pins, and a control port. The fluid ports provide the connection to the fuel cell stack. The electrical ports interface with the low-voltage DC power-supply to power the BoP components (in this case, the air compressor). The control port provides an interface to the FuelCellControlUnit, which controls the air compressor. A throttle valve is connected downstream from the fuel cell stack to maintain the set pressure in the air line. Future expansions on the air subsystem will include options for humidification and temperature control.

Contents

+ + + + VirtualFCS.SubSystems.Air.SubSystemAir + + +

.VirtualFCS.SubSystems.Air.SubSystemAir

Information

An air sub-system template is provided in the example model SubSystemAir. 

Description

The model consists of an Air Compressor and Throttle Valve connected to a fixed boundary condition reflecting the ambient conditions. 

The subsystem model contains 5 interface connections: fluid ports in and out, electrical ports for positive and negative pins, and a control port. The fluid ports provide the connection to the Fuel Cell Stack. The electrical ports interface with the low-voltage DC power-supply to power the BoP components (in this case, the Air Compressor). The control port provides an interface to the Fuel Cell Control Unit, which controls the Air Compressor. A Throttle Valve is connected downstream from the Fuel Cell Stack to maintain the set pressure in the air line. Air SubSystem Control compares the set value of air mass flow rate with the actual mass flow rate and controls the speed of Air Compressor.  It also sets the air pressure.


Reference/Base packages



Further updates

Future expansions on the air subsystem will include options for humidification and temperature control.

Contents

NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Air.SubSystemAirControl.html b/docs/VirtualFCS.SubSystems.Air.SubSystemAirControl.html index cddd981..fe41abb 100644 --- a/docs/VirtualFCS.SubSystems.Air.SubSystemAirControl.html +++ b/docs/VirtualFCS.SubSystems.Air.SubSystemAirControl.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.SubSystems.Air.SubSystemAirControl - - -

.VirtualFCS.SubSystems.Air.SubSystemAirControl


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.SubSystems.Air.SubSystemAirControl + + +

.VirtualFCS.SubSystems.Air.SubSystemAirControl

Information

The air sub system control governs the flow and pressure of air, based on fuel cell current. 


Description

The sensor interface (mass flow rate set value) signals are inputs to the Pump Speed Control block. Other inputs include air feed pressure (from air tank to the fuel cell) and mass flow rate and are set to a constant value. The output signal is concatenated with two values, (1) Air Feed Pressure input to Throttle Valve, and (2) Set Speed to Air Compressor. The Pump Speed Control blocks uses simple PID control to set Air Compressor speed as a function of mass flow. 


List of components

The model comprises Pump Speed ControlDeMultipex2Multiplex3. The subsystem features multiple interface connections all of them are control port. 


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Air.html b/docs/VirtualFCS.SubSystems.Air.html index 2c4d35f..d4ff3c2 100644 --- a/docs/VirtualFCS.SubSystems.Air.html +++ b/docs/VirtualFCS.SubSystems.Air.html @@ -1,11 +1,11 @@ - - - - VirtualFCS.SubSystems.Air - - + + + + VirtualFCS.SubSystems.Air + +

.VirtualFCS.SubSystems.Air

Information

Subsystems related to the air line.

Contents

NameDescription
SubSystemAir
SubSystemAirControl

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Cooling.SubSystemCooling.Coolant_Medium.html b/docs/VirtualFCS.SubSystems.Cooling.SubSystemCooling.Coolant_Medium.html index 80687c8..ec494ae 100644 --- a/docs/VirtualFCS.SubSystems.Cooling.SubSystemCooling.Coolant_Medium.html +++ b/docs/VirtualFCS.SubSystems.Cooling.SubSystemCooling.Coolant_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.SubSystems.Cooling.SubSystemCooling.Coolant_Medium - - + + + + VirtualFCS.SubSystems.Cooling.SubSystemCooling.Coolant_Medium + +

.VirtualFCS.SubSystems.Cooling.SubSystemCooling.Coolant_Medium

Definition

package Coolant_Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Cooling.SubSystemCooling.html b/docs/VirtualFCS.SubSystems.Cooling.SubSystemCooling.html index c10ed89..3877da3 100644 --- a/docs/VirtualFCS.SubSystems.Cooling.SubSystemCooling.html +++ b/docs/VirtualFCS.SubSystems.Cooling.SubSystemCooling.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.SubSystems.Cooling.SubSystemCooling - - -

.VirtualFCS.SubSystems.Cooling.SubSystemCooling

Information

The SubSystemCooling model provides a template for the construction of a cooling sub-system for the fuel cell stack. The model comprises a coolant tank, pre-heater, pump, and heat sink. The subsystem features 5 interface connections: fluid ports in and out, electrical ports for positive and negative pins, and a control port. The fluid ports connect to the cooling interfaces on the fuel cell stack, the electrical ports connect to the low-voltage power supply to provide power to the BoP components, and the control interface connects to the FuelCellControlUnit, which controls the pump, pre-heater, and heat sink.

Contents

+ + + + VirtualFCS.SubSystems.Cooling.SubSystemCooling + + +

.VirtualFCS.SubSystems.Cooling.SubSystemCooling

Contents

NameDescription
Coolant_Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Cooling.SubSystemCoolingControl.html b/docs/VirtualFCS.SubSystems.Cooling.SubSystemCoolingControl.html index bd5b71f..c7a5c63 100644 --- a/docs/VirtualFCS.SubSystems.Cooling.SubSystemCoolingControl.html +++ b/docs/VirtualFCS.SubSystems.Cooling.SubSystemCoolingControl.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.SubSystems.Cooling.SubSystemCoolingControl - - -

.VirtualFCS.SubSystems.Cooling.SubSystemCoolingControl


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.SubSystems.Cooling.SubSystemCoolingControl + + +

.VirtualFCS.SubSystems.Cooling.SubSystemCoolingControl

Information

Model (components and controls. If package, then what it contains with references)

 

 

What it does

References to base model/related packages

Standard component/protocol (any specific commercial)

 

 

Description

Purpose/where to use

List of components

 

 

Assumptions

 

 

Formula

 

 

Operation

Explain with diagram view

Operating range

Initial/default inputs

Output-Explain with graph


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Cooling.html b/docs/VirtualFCS.SubSystems.Cooling.html index af2f522..ca3b414 100644 --- a/docs/VirtualFCS.SubSystems.Cooling.html +++ b/docs/VirtualFCS.SubSystems.Cooling.html @@ -1,11 +1,11 @@ - - - - VirtualFCS.SubSystems.Cooling - - + + + + VirtualFCS.SubSystems.Cooling + +

.VirtualFCS.SubSystems.Cooling

Information

Subsystems related to the cooling line.

Contents

- - +
NameDescription
SubSystemCooling
SubSystemCoolingControl
+
NameDescription
SubSystemCoolingControl
SubSystemCooling

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.TestHydrogenSubsystem.Anode_Medium.html b/docs/VirtualFCS.SubSystems.FuelCellSubSystems.Anode_Medium.html similarity index 54% rename from docs/VirtualFCS.Examples.TestHydrogenSubsystem.Anode_Medium.html rename to docs/VirtualFCS.SubSystems.FuelCellSubSystems.Anode_Medium.html index 99d69b2..e80dddb 100644 --- a/docs/VirtualFCS.Examples.TestHydrogenSubsystem.Anode_Medium.html +++ b/docs/VirtualFCS.SubSystems.FuelCellSubSystems.Anode_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Examples.TestHydrogenSubsystem.Anode_Medium - - -

.VirtualFCS.Examples.TestHydrogenSubsystem.Anode_Medium

+ + + + VirtualFCS.SubSystems.FuelCellSubSystems.Anode_Medium + + +

.VirtualFCS.SubSystems.FuelCellSubSystems.Anode_Medium

Definition

package Anode_Medium = Modelica.Media.IdealGases.SingleGases.H2;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.PolarizeFuelCellStack.Cathode_Medium.html b/docs/VirtualFCS.SubSystems.FuelCellSubSystems.Cathode_Medium.html similarity index 53% rename from docs/VirtualFCS.Examples.PolarizeFuelCellStack.Cathode_Medium.html rename to docs/VirtualFCS.SubSystems.FuelCellSubSystems.Cathode_Medium.html index 86f6c5a..a6bae98 100644 --- a/docs/VirtualFCS.Examples.PolarizeFuelCellStack.Cathode_Medium.html +++ b/docs/VirtualFCS.SubSystems.FuelCellSubSystems.Cathode_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Examples.PolarizeFuelCellStack.Cathode_Medium - - -

.VirtualFCS.Examples.PolarizeFuelCellStack.Cathode_Medium

+ + + + VirtualFCS.SubSystems.FuelCellSubSystems.Cathode_Medium + + +

.VirtualFCS.SubSystems.FuelCellSubSystems.Cathode_Medium

Definition

package Cathode_Medium = Modelica.Media.Air.MoistAir;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Examples.PolarizeFuelCellStack.Coolant_Medium.html b/docs/VirtualFCS.SubSystems.FuelCellSubSystems.Coolant_Medium.html similarity index 54% rename from docs/VirtualFCS.Examples.PolarizeFuelCellStack.Coolant_Medium.html rename to docs/VirtualFCS.SubSystems.FuelCellSubSystems.Coolant_Medium.html index 49fd036..b642497 100644 --- a/docs/VirtualFCS.Examples.PolarizeFuelCellStack.Coolant_Medium.html +++ b/docs/VirtualFCS.SubSystems.FuelCellSubSystems.Coolant_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Examples.PolarizeFuelCellStack.Coolant_Medium - - -

.VirtualFCS.Examples.PolarizeFuelCellStack.Coolant_Medium

+ + + + VirtualFCS.SubSystems.FuelCellSubSystems.Coolant_Medium + + +

.VirtualFCS.SubSystems.FuelCellSubSystems.Coolant_Medium

Definition

package Coolant_Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.FuelCellSubSystems.html b/docs/VirtualFCS.SubSystems.FuelCellSubSystems.html new file mode 100644 index 0000000..9703fea --- /dev/null +++ b/docs/VirtualFCS.SubSystems.FuelCellSubSystems.html @@ -0,0 +1,12 @@ + + + + VirtualFCS.SubSystems.FuelCellSubSystems + + +

.VirtualFCS.SubSystems.FuelCellSubSystems

Contents

+ + + +
NameDescription
Cathode_Medium
Anode_Medium
Coolant_Medium

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.Anode_Medium.html b/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.Anode_Medium.html index 128a0ff..87ad4c5 100644 --- a/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.Anode_Medium.html +++ b/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.Anode_Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.Anode_Medium - - + + + + VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.Anode_Medium + +

.VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.Anode_Medium

Definition

-
package Anode_Medium = Modelica.Media.IdealGases.SingleGases.H2;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +
package Anode_Medium = Modelica.Media.IdealGases.SingleGases.H2(Temperature(start = system.T_start), AbsolutePressure(start = system.p_start));

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.html b/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.html index 01a89b6..e8d4219 100644 --- a/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.html +++ b/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen.html @@ -1,10 +1,20 @@ - - - - VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen - - -

.VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen

Information

A hydrogen sub-system template is provided in the example model SubSystemHydrogen. The model comprises a hydrogen tank, pressure regulator, recirculation blower, and a purge valve linked to a fixed ambient boundary condition. The subsystem features 5 interface connections: fluid ports in and out, electrical ports for positive and negative pins, and a control port. The fluid ports connect to the hydrogen interfaces on the fuel cell stack, the electrical ports connect to the low-voltage power supply to provide power to the BoP components, and the control interface connects to the FuelCellSystemControl, which controls the recirculation blower.

Contents

+ + + + VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen + + +

.VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogen

Information

The hydrogen sub system provides hydrogen to the Fuel Cell Stack



References to base model/related packages

Subsystem Hydrogen Control, Recirculation BlowerPressure Regulator, and Purge Valve


+ +

Description

+ +

The compressed hydrogen from the hydrogen tank is depressurised to fuel cell operating pressure with the use of pressure regulator. The unreacted hydrogen is reintroduced to the fuel cell inlet using a recirculation blower. A simplified pruge strategy is also introduced. If the fuel cell stack is turned on then the purge valve is opened at regular intervals predefined in the setPurgeValveState block. 

The fluid ports connect to the hydrogen interfaces on the fuel cell stack, the electrical ports connect to the low-voltage power supply to provide power to the BoP components, and the control interface connects to the Fuel Cell System Control, which controls the Recirculation Blower.
+ +


List of components

The model comprises a hydrogen tank, Pressure RegulatorRecirculation Blower, and a Purge Valve linked to a fixed ambient boundary condition. The subsystem features 5 interface connections: fluid ports in and out, electrical ports for positive and negative pins, and a control port. 

+ +

 

+ +

Contents

NameDescription
Anode_Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogenControl.html b/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogenControl.html index 3e87845..85b61cf 100644 --- a/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogenControl.html +++ b/docs/VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogenControl.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogenControl - - -

.VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogenControl


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogenControl + + +

.VirtualFCS.SubSystems.Hydrogen.SubSystemHydrogenControl

Information

The hydrogen sub system control governs the flow and pressure of hydrogen, based on fuel cell current. 


Description

The fuel cell interface (output current value) and hydrogen interface (mass flow rate set value) signals are inputs to the Purge Valve Control and Pump Speed Control blocks. Other inputs include hydrogen feed pressure (from hydrogen tank to the fuel cell) and mass flow rate and are set to a constant value. The output signal is concatenated with three values, (1) Hydrogen Feed Pressure input to Pressure Regulator, (2) Control Signal to Purge Valve and (3) Set Speed to Recirculation Blower.  The Pump Speed Control blocks uses simple PID control to set Recirculation Blower speed as a function of mass flow andPurge Valve Control uses logical conditions to control Purge Valve


List of components

The model comprises Pump Speed ControlPurge Valve Control, DeMultipex2, Multiplex3. The subsystem features multiple interface connections all of them are control port. 


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.Hydrogen.html b/docs/VirtualFCS.SubSystems.Hydrogen.html index 0629681..c2fc6d8 100644 --- a/docs/VirtualFCS.SubSystems.Hydrogen.html +++ b/docs/VirtualFCS.SubSystems.Hydrogen.html @@ -1,11 +1,11 @@ - - - - VirtualFCS.SubSystems.Hydrogen - - + + + + VirtualFCS.SubSystems.Hydrogen + +

.VirtualFCS.SubSystems.Hydrogen

Information

Subsystems related to the hydrogen line.

Contents

NameDescription
SubSystemHydrogen
SubSystemHydrogenControl

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.UsersGuide.html b/docs/VirtualFCS.SubSystems.UsersGuide.html index 4915a0c..0f494a3 100644 --- a/docs/VirtualFCS.SubSystems.UsersGuide.html +++ b/docs/VirtualFCS.SubSystems.UsersGuide.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.SubSystems.UsersGuide - - + + + + VirtualFCS.SubSystems.UsersGuide + +

.VirtualFCS.SubSystems.UsersGuide

Information

User information for the SubSystems sub-library

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.SubSystems.html b/docs/VirtualFCS.SubSystems.html index 6dfeac2..b6b5628 100644 --- a/docs/VirtualFCS.SubSystems.html +++ b/docs/VirtualFCS.SubSystems.html @@ -1,13 +1,14 @@ - - - - VirtualFCS.SubSystems - - + + + + VirtualFCS.SubSystems + +

.VirtualFCS.SubSystems

Information

Subsystem models are designed to improve the encapsulation aspects of the modelling library. Users can design subsystems independently from the overall system design, with the option to plug-and-play different sub-system designs to determine the effect on overall system performance. Three example subsystems are provided: SubSystemAir, SubSystemCooling, and SubSystemHydrogen.

Contents

+
NameDescription
UsersGuideUser information for the SubSystems sub-library
HydrogenSubsystems related to the hydrogen line.
AirSubsystems related to the air line.
CoolingSubsystems related to the cooling line.
FuelCellSubSystems

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Thermal.HeatSink.Medium.html b/docs/VirtualFCS.Thermal.HeatSink.Medium.html index d4bef5f..0ad8ea6 100644 --- a/docs/VirtualFCS.Thermal.HeatSink.Medium.html +++ b/docs/VirtualFCS.Thermal.HeatSink.Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Thermal.HeatSink.Medium - - + + + + VirtualFCS.Thermal.HeatSink.Medium + +

.VirtualFCS.Thermal.HeatSink.Medium

Definition

package Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Thermal.HeatSink.html b/docs/VirtualFCS.Thermal.HeatSink.html index c3f0b4a..953cca9 100644 --- a/docs/VirtualFCS.Thermal.HeatSink.html +++ b/docs/VirtualFCS.Thermal.HeatSink.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Thermal.HeatSink - - + + + + VirtualFCS.Thermal.HeatSink + +

.VirtualFCS.Thermal.HeatSink

Contents

NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Thermal.PreHeater.Medium.html b/docs/VirtualFCS.Thermal.PreHeater.Medium.html index 5998b0a..f6ed0a0 100644 --- a/docs/VirtualFCS.Thermal.PreHeater.Medium.html +++ b/docs/VirtualFCS.Thermal.PreHeater.Medium.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Thermal.PreHeater.Medium - - + + + + VirtualFCS.Thermal.PreHeater.Medium + +

.VirtualFCS.Thermal.PreHeater.Medium

Definition

package Medium = Modelica.Media.Water.ConstantPropertyLiquidWater;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Thermal.PreHeater.html b/docs/VirtualFCS.Thermal.PreHeater.html index ae93a74..edddf3c 100644 --- a/docs/VirtualFCS.Thermal.PreHeater.html +++ b/docs/VirtualFCS.Thermal.PreHeater.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Thermal.PreHeater - - + + + + VirtualFCS.Thermal.PreHeater + +

.VirtualFCS.Thermal.PreHeater

Contents

NameDescription
Medium

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Thermal.UsersGuide.html b/docs/VirtualFCS.Thermal.UsersGuide.html index 4beb48e..962f5f4 100644 --- a/docs/VirtualFCS.Thermal.UsersGuide.html +++ b/docs/VirtualFCS.Thermal.UsersGuide.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.Thermal.UsersGuide - - + + + + VirtualFCS.Thermal.UsersGuide + +

.VirtualFCS.Thermal.UsersGuide

Information

User information for the Thermal sub-library

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Thermal.html b/docs/VirtualFCS.Thermal.html index 14235c4..67c3e7d 100644 --- a/docs/VirtualFCS.Thermal.html +++ b/docs/VirtualFCS.Thermal.html @@ -1,12 +1,12 @@ - - - - VirtualFCS.Thermal - - + + + + VirtualFCS.Thermal + +

.VirtualFCS.Thermal

Information


Contents

NameDescription
UsersGuideUser information for the Thermal sub-library
PreHeater
HeatSink

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.UsersGuide.Acknowledgements.html b/docs/VirtualFCS.UsersGuide.Acknowledgements.html index b544bf6..c8b7634 100644 --- a/docs/VirtualFCS.UsersGuide.Acknowledgements.html +++ b/docs/VirtualFCS.UsersGuide.Acknowledgements.html @@ -1,8 +1,10 @@ - - - - VirtualFCS.UsersGuide.Acknowledgements - - -

.VirtualFCS.UsersGuide.Acknowledgements

Information

This project has received funding from the Fuel Cells and Hydrogen 2 Joint Undertaking under grant agreement No 875087. This Joint Undertaking receives support from the European Union’s Horizon 2020 research and innovation programme, Hydrogen Europe and Hydrogen Europe research.

The following people have directly contributed to the implementation of the Virtual-FCS library.

Dr. Simon Clark, SINTEF Industry, Norway
Dr. Yash Raka, SINTEF Industry, Norway
Dr. Michael R. Gerhardt, SINTEF Industry, Norway
Dr. Loic Vichard, UBFC, France
Amelie Pinard, France

Many others have contributed by other means than model implementation. Specifically, we thank Dr. Federico Zenith (SINTEF Digital), Dr. Alejandro Oyarce Barnett (SINTEF Industry), Dr. Nadia Steiner (UBFC) and Dr. Daniel Hissel (UBFC) for the helpful discussions. 


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.UsersGuide.Acknowledgements + + +

.VirtualFCS.UsersGuide.Acknowledgements

Information

The following people have directly contributed to the implementation of the Virtual-FCS library.

Dr. Simon Clark, SINTEF Industry, Norway
Dr. Yash Raka, SINTEF Industry, Norway
Dr. Michael R. Gerhardt, SINTEF Industry, Norway
Dr. Loic Vichard, UBFC, France
Amelie Pinard, France

Many others have contributed by other means than model implementation. Specifically, we thank Dr. Federico Zenith (SINTEF Digital), Dr. Alejandro Oyarce Barnett (SINTEF Industry), Dr. Nadia Steiner (UBFC) and Dr. Daniel Hissel (UBFC) for the helpful discussions. 

This project has received funding from the Fuel Cells and Hydrogen 2 Joint Undertaking under grant agreement No 875087. This Joint Undertaking receives support from the European Union’s Horizon 2020 research and innovation programme, Hydrogen Europe and Hydrogen Europe research.



+ +
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.UsersGuide.Contact.html b/docs/VirtualFCS.UsersGuide.Contact.html index e0c49e3..c96905f 100644 --- a/docs/VirtualFCS.UsersGuide.Contact.html +++ b/docs/VirtualFCS.UsersGuide.Contact.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.UsersGuide.Contact - - + + + + VirtualFCS.UsersGuide.Contact + +

.VirtualFCS.UsersGuide.Contact

Information

Dr. Kyrre Sundseth
SINTEF Industry
Trondheim, Norway
kyrre.sundseth@sintef.no

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.UsersGuide.Conventions.html b/docs/VirtualFCS.UsersGuide.Conventions.html index d79babb..54b3201 100644 --- a/docs/VirtualFCS.UsersGuide.Conventions.html +++ b/docs/VirtualFCS.UsersGuide.Conventions.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.UsersGuide.Conventions - - + + + + VirtualFCS.UsersGuide.Conventions + +

.VirtualFCS.UsersGuide.Conventions

Information

This library follows the conventions of the Modelica Standard Library, which are as follows:

Note, in the html documentation of any Modelica library, the headings "h1, h2, h3" should not be used, because they are utilized from the automatically generated documentation and headings. Additional headings in the html documentation should start with "h4".

In the Modelica package the following conventions are used:

  1. Class and instance names are written in upper and lower case letters, e.g., "ElectricCurrent". An underscore is only used at the end of a name to characterize a lower or upper index, e.g., "pin_a".
  2. Class names start always with an upper case letter.
  3. Instance names, i.e., names of component instances and of variables (with the exception of constants), start usually with a lower case letter with only a few exceptions if this is common sense (such as "T" for a temperature variable).
  4. Constant names, i.e., names of variables declared with the "constant" prefix, follow the usual naming conventions (= upper and lower case letters) and start usually with an upper case letter, e.g. UniformGravity, SteadyState.
  5. The two connectors of a domain that have identical declarations and different icons are usually distinguished by "_a", "_b" or "_p", "_n", e.g., Flange_a/Flange_b, HeatPort_a, HeatPort_b.
  6. The instance name of a component is always displayed in its icon (= text string "%name") in blue color. A connector class has the instance name definition in the diagram layer and not in the icon layer. Parameter values, e.g., resistance, mass, gear ratio, are displayed in the icon in black colorin a smaller font size as the instance name.
  7. A main package has usually the following subpackages:
    • UsersGuide containing an overall description of the library and how to use it.
    • Examples containing models demonstrating the usage of the library.
    • Interfaces containing connectors and partial models.
    • Types containing type, enumeration and choice definitions.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.UsersGuide.License.html b/docs/VirtualFCS.UsersGuide.License.html index 066a399..e89609e 100644 --- a/docs/VirtualFCS.UsersGuide.License.html +++ b/docs/VirtualFCS.UsersGuide.License.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.UsersGuide.License - - + + + + VirtualFCS.UsersGuide.License + +

.VirtualFCS.UsersGuide.License

Information

MIT License

Copyright (c) 2021 Virtual-FCS H2020

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_0_1_0.html b/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_0_1_0.html index 56413c9..9ffcd30 100644 --- a/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_0_1_0.html +++ b/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_0_1_0.html @@ -1,8 +1,1391 @@ - - - - VirtualFCS.UsersGuide.ReleaseNotes.Version_0_1_0 - - -

.VirtualFCS.UsersGuide.ReleaseNotes.Version_0_1_0

Information

First release of the library. The development plan is to implement minor releases of the library every 3 months until the major release in December 2023. 

This version contains the basic components needed to model hybrid fuel cell systems. The goal is to establish the basic functionality of the library and provide a foundation for development. 

Currently the library is supported up to OpenModelica 1.14. Support for later versions will be added in future releases.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file + + + + VirtualFCS.UsersGuide.ReleaseNotes.Version_0_1_0 + + +

.VirtualFCS.UsersGuide.ReleaseNotes.Version_0_1_0

Information

+ + + + + + + + + + + + + + + +

The first release of the VirtualFCS Modelica library (v0.1.0) includes the +basic components needed to model and simulate the performance of hybrid fuel +cell power systems. The code will have a minor release every 3 months until the +end of the project in December 2023. The source code for is hosted in a repository on GitHub

+ +

The repository containing the VirtualFCS source code was first opened to +the public on April 23, 2021 to coincide with Earth Day. An accompanying press +release was prepared and distributed by the consortium partners through their +respective media outlets (see Appendix). A short video was also prepared to +share news of the code release and posted to YouTube. +As of June 28, 2021 the video has been viewed 246 times by 202 unique viewers.

+ +

Information about the VirtualFCS library including system requirements, +installation instructions, and documentation are included in the readme.md file +in the GitHub Repository and summarized below.

System Requirements and Installation

+ +
+ + + + + + + + + + + + + + + +

The +VirtualFCS library is designed to work with OpenModelica and supports up +through version 1.14. Support for later versions will be included in future +releases. To install OpenModelica, please visit their website:

+ +

Information about OpenModelica

+ +

Download +and Install OpenModelica v1.14

+ +

OpenModelica on GitHub

+ +

To use the +VirtualFCS library, follow these steps:

+ +

1.      Download and install OpenModelica +v1.14

+ +

2.      Clone this repository to your +computer

+ +

3.      Open the OpenModelica Connection +Editor

+ +

4.      Open the file VirtualFCS/package.mo

+ +

5.      The VirtualFCS library will load in +the library browser on the left of the Connection Editor

+ +
+ +
+ +
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_2022_1_0.html b/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_2022_1_0.html new file mode 100644 index 0000000..40722e7 --- /dev/null +++ b/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_2022_1_0.html @@ -0,0 +1,680 @@ + + + + VirtualFCS.UsersGuide.ReleaseNotes.Version_2022_1_0 + + +

.VirtualFCS.UsersGuide.ReleaseNotes.Version_2022_1_0

Information

Release of VirtualFCS v2022.1.0

Version Control
Starting from this release, we have switched to calender versioning. This change was made due to the plans to release updates to the code in regular intervals. The version numbers adhere to the format YYYY.Major.Minor.

Notable Modifications 
This release includes improvements which are +focused on enhanced Battery and Fuel Cell models, User Interface, Model +Documentation and Real-Time Emulation.

16 February, 2022
+ + + + + + + + + + + + + +
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_2_0_0.html b/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_2_0_0.html new file mode 100644 index 0000000..d460f55 --- /dev/null +++ b/docs/VirtualFCS.UsersGuide.ReleaseNotes.Version_2_0_0.html @@ -0,0 +1,26 @@ + + + + VirtualFCS.UsersGuide.ReleaseNotes.Version_2_0_0 + + +

.VirtualFCS.UsersGuide.ReleaseNotes.Version_2_0_0

Information

+ +

+ +

+ +

+ +

Top of Form

+ +

  1. Introduction
    • +
    • Starting from this release, we have switched to semantic versioning (Major.Minor.Patch), following the OpenModelica convention. The new series continues with "Major = 2" version number. It is important to note that the v2022.1.0-beta is an old release from last year. +
    • Brief overview of the major upgrade release
      1. Major changes include,
        1. Library is upgraded to be compatible with OpenModelica v.1.20.
        2. A new package, ComponentTesting, is introduced to the library.
        3. Computational time reduced.
      2. Minor changes include,
        1. Changed bitmaps to vector graphics.
        2. Restructuring of library following the Modelica structure.
        3. Rolling force was re-introduced in the Vehicle model.
        4. Removed i2R terms from heat sources in the thermal part for Fuel Cell and Battery models.
    • List of key features and improvements included in the upgrade,
      1. Performance indicating parameters such power and various efficiencies for vehicle, fuel cell stack, battery, and BOP components are introduced.
      2. Introduced dynamic control of BOP components such as Air subsystem, Hydrogen subsystem and Cooling subsystem.
      3. Faster simulations of fluids library from previous version.
  2. New Features
      1. Library upgrade: Virtual-FCS is upgraded to be compatible with OpenModelica v.1.20 and the Modelica Standard Library 4.0.0 (previously only up to OM v.1.14 and MSL 3.2.3). The three balance of plant subsystems, air, hydrogen, and cooling, all including fluid components such as pipes, valves, tanks, sinks, and pumps have been redeclared and partially remodelled to overcome compatibility issues with the latest Modelica fluid library. The medium packages are initialised and constrained more clearly which also enables designers to easily change initial conditions of models.
      2. New class: A new package, ComponentTesting, is introduced to enable designers to debug larger models by testing simple models for single components.
      3. Faster simulations are available due to faster default solver and library upgrades.
      4. Changed bitmaps to vector graphic to avoid long and unreadable model files and any compilation bugs related to bitmap.
      5. The library is restructured complying to the Modelica Standard library structure providing familiarity to users.
      6. Calculations for power and efficiency for vehicle, fuel cell stack, battery, and BOP components is introduced to help users evaluate key performance indications.
      7. Control of BOP components is now developed to dynamically respond to varying fuel cell load. This includes adding separate control blocks for different subsystem, which also enables users to change only parts of the system.
  3. Bug Fixes
      1. Modelica standard library’s fluid system model is required in the VirtualFCS library to use fluid components. In the previous version this was introduced at every level in Virtual-FCS which was redundant. This issue was resolved by only declaring the system at the top level by using the inner keyword and referring to the same system in the lower level by using the outer keyword. This improves stability of models and avoids confusion for users.
      2. Fuel cell and Battery were never reaching the desired/expected temperature. This was fixed by altering the thermal parameters and change the cooling control to be dynamic.
      3. Battery size in few models had incorrect voltage. Fixed this by changing the voltage for BOP components to be 24 V.
      4. Selecting/deselecting to use regenerative breaking did not function. This was fixed.
      5. Converted few classes to models to resolve OM-warnings.
  4. Deprecated Features
    • Library will now only support OpenModelica version 1.20
    • Library will now only support Modelica Device Drivers version 2.1.1
  5. Breaking Changes
    • With this upgrade one cannot use OM older versions
  6. Upgrade Instructions
  7. Support and Feedback
  8. Contributors
    • List of contributors made the development of this release.
      1. Benjamin Synnevåg
      2. Mike Gerhardt
    • List of contributors who helped on the development of this release.
      1. Knut Vidar Skjersli
      2. Yash Raka
  9. Acknowledgements
    • Dietmar Winkler helped on the development of this release.
  10. Release date

  • On date 19 January 2023 release was made available to the public.
+ +

+ +

+ +


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.UsersGuide.ReleaseNotes.html b/docs/VirtualFCS.UsersGuide.ReleaseNotes.html index 2814303..45f007a 100644 --- a/docs/VirtualFCS.UsersGuide.ReleaseNotes.html +++ b/docs/VirtualFCS.UsersGuide.ReleaseNotes.html @@ -1,10 +1,20 @@ - - - - VirtualFCS.UsersGuide.ReleaseNotes - - -

.VirtualFCS.UsersGuide.ReleaseNotes

Information

Version 0.1.0 (30.06.2021)

Contents

- + + + + VirtualFCS.UsersGuide.ReleaseNotes + + +

.VirtualFCS.UsersGuide.ReleaseNotes

Information

+
NameDescription
Version_0_1_0
+ + + + + +
Version 2.0.02023-01-19
Version 2022.1.0-beta2022-02-16
Version 0.2.1-beta2021-12-15
Version 0.2.0-beta2021-09-22
Version 0.1.0-beta2021-07-01
+

Contents

+ + +
NameDescription
Version_2_0_0
Version_2022_1_0
Version_0_1_0

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.UsersGuide.html b/docs/VirtualFCS.UsersGuide.html index a05ebbf..522c96e 100644 --- a/docs/VirtualFCS.UsersGuide.html +++ b/docs/VirtualFCS.UsersGuide.html @@ -1,9 +1,9 @@ - - - - VirtualFCS.UsersGuide - - + + + + VirtualFCS.UsersGuide + +

.VirtualFCS.UsersGuide

Information

The VirtualFCS library is a free open-source library for modeling hydrogen fuel cell power systems. The models developed in the library are based on the Modelica standard library, and adhere to the proper conventions to support compatibility and interoperability with other libraries. The library is developed through the research project Virtual-FCS, funded by the European Union (see Acknowledgements for more information). The webpage for the project is www.virtual-fcs.eu

The source code for the library is hosted on GitHub (https://github.com/Virtual-FCS). The developers welcome contributions from the fuel cell and modelling communities to support the development, adoption, and improvement of the library. For information on how to contribute, please see the guidelines posted in the GitHub repository. 

General information and training materials can be found on the project website. Dedicated User Guides for the main sub-packages are listed below and accessible via hyperlink.


@@ -58,4 +58,4 @@

.Acknowledgements

Name
License

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Utilities.ParameterRecords.DcPermanentMagnetMotorData.html b/docs/VirtualFCS.Utilities.ParameterRecords.DcPermanentMagnetMotorData.html index 9d41559..a1d2de6 100644 --- a/docs/VirtualFCS.Utilities.ParameterRecords.DcPermanentMagnetMotorData.html +++ b/docs/VirtualFCS.Utilities.ParameterRecords.DcPermanentMagnetMotorData.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Utilities.ParameterRecords.DcPermanentMagnetMotorData - - -

.VirtualFCS.Utilities.ParameterRecords.DcPermanentMagnetMotorData

Information

-

Basic parameters of DC machines are predefined with default values.

+ + + + VirtualFCS.Utilities.ParameterRecords.DcPermanentMagnetMotorData + + +

.VirtualFCS.Utilities.ParameterRecords.DcPermanentMagnetMotorData

Information

+

Basic parameters of DC machines are predefined with default values.


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Utilities.ParameterRecords.DriveDataDcPm.html b/docs/VirtualFCS.Utilities.ParameterRecords.DriveDataDcPm.html index 5280dda..1f26143 100644 --- a/docs/VirtualFCS.Utilities.ParameterRecords.DriveDataDcPm.html +++ b/docs/VirtualFCS.Utilities.ParameterRecords.DriveDataDcPm.html @@ -1,13 +1,13 @@ - - - - VirtualFCS.Utilities.ParameterRecords.DriveDataDcPm - - -

.VirtualFCS.Utilities.ParameterRecords.DriveDataDcPm

Information

-

-Calculates controller parameters of a DC permanent magnet drive: -Current controller according to absolute optimum, speed controller according to symmetric optimum. -

+ + + + VirtualFCS.Utilities.ParameterRecords.DriveDataDcPm + + +

.VirtualFCS.Utilities.ParameterRecords.DriveDataDcPm

Information

+

+Calculates controller parameters of a DC permanent magnet drive: +Current controller according to absolute optimum, speed controller according to symmetric optimum. +


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Utilities.ParameterRecords.EVDriveData.html b/docs/VirtualFCS.Utilities.ParameterRecords.EVDriveData.html new file mode 100644 index 0000000..81b2b67 --- /dev/null +++ b/docs/VirtualFCS.Utilities.ParameterRecords.EVDriveData.html @@ -0,0 +1,13 @@ + + + + VirtualFCS.Utilities.ParameterRecords.EVDriveData + + +

.VirtualFCS.Utilities.ParameterRecords.EVDriveData

Information

+

+Calculates controller parameters of a DC permanent magnet drive: +Current controller according to absolute optimum, speed controller according to symmetric optimum. +

+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Utilities.ParameterRecords.EVMotor1.html b/docs/VirtualFCS.Utilities.ParameterRecords.EVMotor1.html new file mode 100644 index 0000000..57791f8 --- /dev/null +++ b/docs/VirtualFCS.Utilities.ParameterRecords.EVMotor1.html @@ -0,0 +1,13 @@ + + + + VirtualFCS.Utilities.ParameterRecords.EVMotor1 + + +

.VirtualFCS.Utilities.ParameterRecords.EVMotor1

Information

+

+Calculates controller parameters of a DC permanent magnet drive: +Current controller according to absolute optimum, speed controller according to symmetric optimum. +

+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Utilities.ParameterRecords.EVMotorData.html b/docs/VirtualFCS.Utilities.ParameterRecords.EVMotorData.html new file mode 100644 index 0000000..7136fe1 --- /dev/null +++ b/docs/VirtualFCS.Utilities.ParameterRecords.EVMotorData.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.Utilities.ParameterRecords.EVMotorData + + +

.VirtualFCS.Utilities.ParameterRecords.EVMotorData

Information

+

Basic parameters of DC machines are predefined with default values.

+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Utilities.ParameterRecords.html b/docs/VirtualFCS.Utilities.ParameterRecords.html index 85a0076..7d3bf0c 100644 --- a/docs/VirtualFCS.Utilities.ParameterRecords.html +++ b/docs/VirtualFCS.Utilities.ParameterRecords.html @@ -1,11 +1,14 @@ - - - - VirtualFCS.Utilities.ParameterRecords - - + + + + VirtualFCS.Utilities.ParameterRecords + +

.VirtualFCS.Utilities.ParameterRecords

Contents

+ + +
NameDescription
DcPermanentMagnetMotorData
DriveDataDcPm
EVMotorData
EVMotor1
EVDriveData

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Utilities.html b/docs/VirtualFCS.Utilities.html index e094704..eae66f4 100644 --- a/docs/VirtualFCS.Utilities.html +++ b/docs/VirtualFCS.Utilities.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Utilities - - + + + + VirtualFCS.Utilities + +

.VirtualFCS.Utilities

Information


Contents

NameDescription
ParameterRecords

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.VehicleProfile.choose_speed_profile.html b/docs/VirtualFCS.Vehicles.DriveCycle.choose_speed_profile.html similarity index 62% rename from docs/VirtualFCS.Vehicles.VehicleProfile.choose_speed_profile.html rename to docs/VirtualFCS.Vehicles.DriveCycle.choose_speed_profile.html index 7aa2f34..41cfab5 100644 --- a/docs/VirtualFCS.Vehicles.VehicleProfile.choose_speed_profile.html +++ b/docs/VirtualFCS.Vehicles.DriveCycle.choose_speed_profile.html @@ -1,14 +1,14 @@ - - - - VirtualFCS.Vehicles.VehicleProfile.choose_speed_profile - - -

.VirtualFCS.Vehicles.VehicleProfile.choose_speed_profile

+ + + + VirtualFCS.Vehicles.DriveCycle.choose_speed_profile + + +

.VirtualFCS.Vehicles.DriveCycle.choose_speed_profile

Interface

function choose_speed_profile
   input speed_profile v;
   input String path;
   output String file;
 end choose_speed_profile;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.DriveCycle.html b/docs/VirtualFCS.Vehicles.DriveCycle.html new file mode 100644 index 0000000..87d0b25 --- /dev/null +++ b/docs/VirtualFCS.Vehicles.DriveCycle.html @@ -0,0 +1,12 @@ + + + + VirtualFCS.Vehicles.DriveCycle + + +

.VirtualFCS.Vehicles.DriveCycle

Information

The DriveCycle block is designed to replicate the power demand of a vehicle considering a pre-determined drive cycle and vehicle parameters such as weight and frontal area. The generated power profile considers the needs to propel the vehicle plus the aerodynamic drag. The block allows the user to select if regenerative breaking is used or not.

The block enables the user to select from standard testing drive cycles including WLTC Class 1-3 and NEDC. The drive cycles are provided as .mat files in the library directory containing the block.

Contents

+ + + +
NameDescription
speed_profile
choose_speed_profile
speed_profile_name

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.VehicleProfile.speed_profile.html b/docs/VirtualFCS.Vehicles.DriveCycle.speed_profile.html similarity index 50% rename from docs/VirtualFCS.Vehicles.VehicleProfile.speed_profile.html rename to docs/VirtualFCS.Vehicles.DriveCycle.speed_profile.html index b7a9dd1..c1a7769 100644 --- a/docs/VirtualFCS.Vehicles.VehicleProfile.speed_profile.html +++ b/docs/VirtualFCS.Vehicles.DriveCycle.speed_profile.html @@ -1,10 +1,10 @@ - - - - VirtualFCS.Vehicles.VehicleProfile.speed_profile - - -

.VirtualFCS.Vehicles.VehicleProfile.speed_profile

+ + + + VirtualFCS.Vehicles.DriveCycle.speed_profile + + +

.VirtualFCS.Vehicles.DriveCycle.speed_profile

Definition

-
type speed_profile = enumeration(NEDC "NEDC", WLTC "WLTC", personnal "personnal");

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +
type speed_profile = enumeration(NEDC "NEDC", WLTC "WLTC", custom "custom");

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.VehicleProfile.speed_profile_name.html b/docs/VirtualFCS.Vehicles.DriveCycle.speed_profile_name.html similarity index 63% rename from docs/VirtualFCS.Vehicles.VehicleProfile.speed_profile_name.html rename to docs/VirtualFCS.Vehicles.DriveCycle.speed_profile_name.html index eaf64c5..7bb7143 100644 --- a/docs/VirtualFCS.Vehicles.VehicleProfile.speed_profile_name.html +++ b/docs/VirtualFCS.Vehicles.DriveCycle.speed_profile_name.html @@ -1,14 +1,14 @@ - - - - VirtualFCS.Vehicles.VehicleProfile.speed_profile_name - - -

.VirtualFCS.Vehicles.VehicleProfile.speed_profile_name

+ + + + VirtualFCS.Vehicles.DriveCycle.speed_profile_name + + +

.VirtualFCS.Vehicles.DriveCycle.speed_profile_name

Interface

function speed_profile_name
   input speed_profile v;
   input String table;
   output String name;
 end speed_profile_name;

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.DriveCycles.html b/docs/VirtualFCS.Vehicles.DriveCycles.html deleted file mode 100644 index d9279a8..0000000 --- a/docs/VirtualFCS.Vehicles.DriveCycles.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - VirtualFCS.Vehicles.DriveCycles - - -

.VirtualFCS.Vehicles.DriveCycles

Information

Drive cycle data.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.JoystickDriveInput.html b/docs/VirtualFCS.Vehicles.JoystickDriveInput.html new file mode 100644 index 0000000..1cc0551 --- /dev/null +++ b/docs/VirtualFCS.Vehicles.JoystickDriveInput.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.Vehicles.JoystickDriveInput + + +

.VirtualFCS.Vehicles.JoystickDriveInput


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.UsersGuide.html b/docs/VirtualFCS.Vehicles.UsersGuide.html index 0cefdac..fd44347 100644 --- a/docs/VirtualFCS.Vehicles.UsersGuide.html +++ b/docs/VirtualFCS.Vehicles.UsersGuide.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.Vehicles.UsersGuide - - + + + + VirtualFCS.Vehicles.UsersGuide + +

.VirtualFCS.Vehicles.UsersGuide

Information

User information for the Vehicles sub-library

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.VehicleProfile.html b/docs/VirtualFCS.Vehicles.VehicleProfile.html index 8c70b3f..45a6b5e 100644 --- a/docs/VirtualFCS.Vehicles.VehicleProfile.html +++ b/docs/VirtualFCS.Vehicles.VehicleProfile.html @@ -1,12 +1,10 @@ - - - - VirtualFCS.Vehicles.VehicleProfile - - + + + + VirtualFCS.Vehicles.VehicleProfile + +

.VirtualFCS.Vehicles.VehicleProfile

Information

The VehicleProfile block is designed to replicate the power demand of a vehicle considering a pre-determined drive cycle and vehicle parameters such as weight and frontal area. The generated power profile considers the needs to propel the vehicle plus the aerodynamic drag. The block allows the user to select if regenerative breaking is used or not.

The block enables the user to select from standard testing drive cycles including WLTC Class 1-3 and NEDC. The drive cycles are provided as .mat files in the library directory containing the block.

Contents

- - - +
NameDescription
speed_profile
choose_speed_profile
speed_profile_name
NameDescription
vehicle_name

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.VehicleProfile.vehicle_name.html b/docs/VirtualFCS.Vehicles.VehicleProfile.vehicle_name.html new file mode 100644 index 0000000..871b4fc --- /dev/null +++ b/docs/VirtualFCS.Vehicles.VehicleProfile.vehicle_name.html @@ -0,0 +1,10 @@ + + + + VirtualFCS.Vehicles.VehicleProfile.vehicle_name + + +

.VirtualFCS.Vehicles.VehicleProfile.vehicle_name

+

Definition

+
type vehicle_name = enumeration(Default "Default", Mirai "Mirai", UserDefined "User Defined");

Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.Vehicles.html b/docs/VirtualFCS.Vehicles.html index 265cc4a..e438ad9 100644 --- a/docs/VirtualFCS.Vehicles.html +++ b/docs/VirtualFCS.Vehicles.html @@ -1,12 +1,13 @@ - - - - VirtualFCS.Vehicles - - + + + + VirtualFCS.Vehicles + +

.VirtualFCS.Vehicles

Information

The vehicles category of the VirtualFCS library includes the information needed to model the performance and demands of vehicles on the system. This includes a vehicle profile block that calculates the power demand of the vehicle as a function of its drive cycle, as well as the raw data for standard drive cycles themselves.

Contents

- + +
NameDescription
UsersGuideUser information for the Vehicles sub-library
DriveCyclesDrive cycle data.
DriveCycle
VehicleProfileCalculates the driving power for a vehicle that corresponds to a given speed profile.
JoystickDriveInput

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.XInTheLoop.HardwareInTheLoop.html b/docs/VirtualFCS.XInTheLoop.HardwareInTheLoop.html index 4b9d3c9..c31567b 100644 --- a/docs/VirtualFCS.XInTheLoop.HardwareInTheLoop.html +++ b/docs/VirtualFCS.XInTheLoop.HardwareInTheLoop.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.XInTheLoop.HardwareInTheLoop - - + + + + VirtualFCS.XInTheLoop.HardwareInTheLoop + +

.VirtualFCS.XInTheLoop.HardwareInTheLoop


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.XInTheLoop.ModelInTheLoop.html b/docs/VirtualFCS.XInTheLoop.ModelInTheLoop.html index 9067d7c..4ea323e 100644 --- a/docs/VirtualFCS.XInTheLoop.ModelInTheLoop.html +++ b/docs/VirtualFCS.XInTheLoop.ModelInTheLoop.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.XInTheLoop.ModelInTheLoop - - + + + + VirtualFCS.XInTheLoop.ModelInTheLoop + +

.VirtualFCS.XInTheLoop.ModelInTheLoop


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.XInTheLoop.SoftwareInTheLoop.html b/docs/VirtualFCS.XInTheLoop.SoftwareInTheLoop.html index 3938cf8..d61de85 100644 --- a/docs/VirtualFCS.XInTheLoop.SoftwareInTheLoop.html +++ b/docs/VirtualFCS.XInTheLoop.SoftwareInTheLoop.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.XInTheLoop.SoftwareInTheLoop - - + + + + VirtualFCS.XInTheLoop.SoftwareInTheLoop + +

.VirtualFCS.XInTheLoop.SoftwareInTheLoop


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.XInTheLoop.UserInTheLoop.JoystickRoadElectricVehicleControl.html b/docs/VirtualFCS.XInTheLoop.UserInTheLoop.JoystickRoadElectricVehicleControl.html new file mode 100644 index 0000000..64caaa7 --- /dev/null +++ b/docs/VirtualFCS.XInTheLoop.UserInTheLoop.JoystickRoadElectricVehicleControl.html @@ -0,0 +1,8 @@ + + + + VirtualFCS.XInTheLoop.UserInTheLoop.JoystickRoadElectricVehicleControl + + +

.VirtualFCS.XInTheLoop.UserInTheLoop.JoystickRoadElectricVehicleControl


Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.XInTheLoop.UserInTheLoop.ThrottleKeys.html b/docs/VirtualFCS.XInTheLoop.UserInTheLoop.ThrottleKeys.html index 0c9be15..c48428f 100644 --- a/docs/VirtualFCS.XInTheLoop.UserInTheLoop.ThrottleKeys.html +++ b/docs/VirtualFCS.XInTheLoop.UserInTheLoop.ThrottleKeys.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.XInTheLoop.UserInTheLoop.ThrottleKeys - - + + + + VirtualFCS.XInTheLoop.UserInTheLoop.ThrottleKeys + +

.VirtualFCS.XInTheLoop.UserInTheLoop.ThrottleKeys


Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.XInTheLoop.UserInTheLoop.html b/docs/VirtualFCS.XInTheLoop.UserInTheLoop.html index bd2adbe..6fff07f 100644 --- a/docs/VirtualFCS.XInTheLoop.UserInTheLoop.html +++ b/docs/VirtualFCS.XInTheLoop.UserInTheLoop.html @@ -1,10 +1,11 @@ - - - - VirtualFCS.XInTheLoop.UserInTheLoop - - + + + + VirtualFCS.XInTheLoop.UserInTheLoop + +

.VirtualFCS.XInTheLoop.UserInTheLoop

Contents

+
NameDescription
ThrottleKeys
JoystickRoadElectricVehicleControl

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.XInTheLoop.UsersGuide.html b/docs/VirtualFCS.XInTheLoop.UsersGuide.html index dd9f153..ab3d88e 100644 --- a/docs/VirtualFCS.XInTheLoop.UsersGuide.html +++ b/docs/VirtualFCS.XInTheLoop.UsersGuide.html @@ -1,8 +1,8 @@ - - - - VirtualFCS.XInTheLoop.UsersGuide - - + + + + VirtualFCS.XInTheLoop.UsersGuide + +

.VirtualFCS.XInTheLoop.UsersGuide

Information

User information for the XInTheLoop sub-library

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.XInTheLoop.html b/docs/VirtualFCS.XInTheLoop.html index a90e653..a138e51 100644 --- a/docs/VirtualFCS.XInTheLoop.html +++ b/docs/VirtualFCS.XInTheLoop.html @@ -1,9 +1,9 @@ - - - - VirtualFCS.XInTheLoop - - + + + + VirtualFCS.XInTheLoop + +

.VirtualFCS.XInTheLoop

Information


Contents

@@ -11,4 +11,4 @@

.ModelInTheLoop

NameDescription
UsersGuideUser information for the XInTheLoop sub-library
HardwareInTheLoop
UserInTheLoop

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/VirtualFCS.html b/docs/VirtualFCS.html index 9b02067..8c3c0f6 100644 --- a/docs/VirtualFCS.html +++ b/docs/VirtualFCS.html @@ -1,20 +1,22 @@ - - - - VirtualFCS - - -

.VirtualFCS

Information

Version
0.1.0 (30.06.2021)

Overview
VirtualFCS is a Modelica library to model hybrid proton exchange membrane fuel cell (PEMFC) & battery electric vehicles. The library provides classes describing:
  • Electrochemical power sources including PEM fuel cells, PEM fuel cell stacks, Li-ion battery cells, and Li-ion battery packs.
  • Fuel cell sub-systems including hydrogen, air, and cooling
  • Balance of plant (BoP) components
  • Control algorithms for energy, fuel cell, and battery management, as well as BoP control.
  • Standard vehicle drive cycles including the New European Drive Cycle (NEDC) and Worldwide Harmonized Light-duty Vehicles Test Cycles (WLTC)
The VirtualFCS library is composed of 8 main sub-packages: Control, Electrical, Electrochemical, Examples, Fluid, Thermal, Vehicles, and XInTheLoop.




Development 
The Virtual-FCS project is supported by the European Union's H2020 research and innovation program and runs from Jan 2020 to Dec 2022. The repository was first opened to the public on April 22, 2021 (Earth Day) with the first minor release with documentation on 30.06.2021. Regular updates are planned every 3 months until Dec 2022.

Contributors (in alphabetical order)
Dr. Simon Clark, SINTEF Industry, Trondheim, Norway
Dr. Michael R. Gerhardt SINTEF Indsutry, Trondheim, Norway
Amelie Pinard, SINTEF Industry, Trondheim, Norway
Dr. Roberto Scipioni, SINTEF Industr,y Trondheim, Norway
Dr. Nadia Steiner UBFC, Belfort, France
Dr. Yash Raka, SINTEF Industry, Trondheim, Norway
Dr. Loic Vichard, UBFC, Belfort, France

Contact

Funding
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 875087. Programme: H2020-EU.3.4.6.1. - Reduce the production cost of fuel cell systems to be used in transportation applications, while increasing their lifetime to levels which can compete with conventional technologies. Topic: FCH-01-3-2019 - Cyber-physical platform for hybrid Fuel Cell Systems.


Contents

+ + + + VirtualFCS + + +

.VirtualFCS

Information

Version
0.1.0 (30.06.2021)

Overview
VirtualFCS is a Modelica library to model hybrid proton exchange membrane fuel cell (PEMFC) & battery electric vehicles. The library provides classes describing:
  • Electrochemical power sources including PEM fuel cells, PEM fuel cell stacks, Li-ion battery cells, and Li-ion battery packs.
  • Fuel cell sub-systems including hydrogen, air, and cooling
  • Balance of plant (BoP) components
  • Control algorithms for energy, fuel cell, and battery management, as well as BoP control.
  • Standard vehicle drive cycles including the New European Drive Cycle (NEDC) and Worldwide Harmonized Light-duty Vehicles Test Cycles (WLTC)
The VirtualFCS library is composed of 8 main sub-packages: Control, Electrical, Electrochemical, Examples, Fluid, Thermal, Vehicles, and XInTheLoop.




Development 
The Virtual-FCS project is supported by the European Union's H2020 research and innovation program and runs from Jan 2020 to Dec 2022. The repository was first opened to the public on April 22, 2021 (Earth Day) with the first minor release with documentation on 30.06.2021. Regular updates are planned every 3 months until Dec 2022.

Contributors (in alphabetical order)
Dr. Simon Clark, SINTEF Industry, Trondheim, Norway
Dr. Michael R. Gerhardt SINTEF Indsutry, Trondheim, Norway
Amelie Pinard, SINTEF Industry, Trondheim, Norway
Dr. Roberto Scipioni, SINTEF Industr,y Trondheim, Norway
Dr. Nadia Steiner UBFC, Belfort, France
Dr. Yash Raka, SINTEF Industry, Trondheim, Norway
Dr. Loic Vichard, UBFC, Belfort, France

Contact

Funding
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 875087. Programme: H2020-EU.3.4.6.1. - Reduce the production cost of fuel cell systems to be used in transportation applications, while increasing their lifetime to levels which can compete with conventional technologies. Topic: FCH-01-3-2019 - Cyber-physical platform for hybrid Fuel Cell Systems.


Contents

+ - + +
NameDescription
UsersGuideUser information for the VirtualFCS library
ExamplesExamples of the VirtualFCS library in action!
ControlControl algorithms for hybrid fuel cell & battery systems.
ElectricalElectrical components supplementing the Modelica Standard Library.
ElectrochemicalElectrochemical energy storage and conversion devices.
ExamplesExamples of the VirtualFCS library in action!
FluidFluid components supplementing the Modelica Standard Library.
ThermalThermal components supplementing the Modelica Standards Library.
Powertrains
SubSystemsEncapsulated support subsystems for modelling fuel cell systems.
VehiclesVehicle profiles and drive cycle data.
XInTheLoopComponents for X-in-the-Loop functionality.
ComponentTesting
UtilitiesSupporting utilities and data.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 9b02067..9e7c63b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,20 +1,10 @@ - - - - VirtualFCS - - -

.VirtualFCS

Information

Version
0.1.0 (30.06.2021)

Overview
VirtualFCS is a Modelica library to model hybrid proton exchange membrane fuel cell (PEMFC) & battery electric vehicles. The library provides classes describing:
  • Electrochemical power sources including PEM fuel cells, PEM fuel cell stacks, Li-ion battery cells, and Li-ion battery packs.
  • Fuel cell sub-systems including hydrogen, air, and cooling
  • Balance of plant (BoP) components
  • Control algorithms for energy, fuel cell, and battery management, as well as BoP control.
  • Standard vehicle drive cycles including the New European Drive Cycle (NEDC) and Worldwide Harmonized Light-duty Vehicles Test Cycles (WLTC)
The VirtualFCS library is composed of 8 main sub-packages: Control, Electrical, Electrochemical, Examples, Fluid, Thermal, Vehicles, and XInTheLoop.




Development 
The Virtual-FCS project is supported by the European Union's H2020 research and innovation program and runs from Jan 2020 to Dec 2022. The repository was first opened to the public on April 22, 2021 (Earth Day) with the first minor release with documentation on 30.06.2021. Regular updates are planned every 3 months until Dec 2022.

Contributors (in alphabetical order)
Dr. Simon Clark, SINTEF Industry, Trondheim, Norway
Dr. Michael R. Gerhardt SINTEF Indsutry, Trondheim, Norway
Amelie Pinard, SINTEF Industry, Trondheim, Norway
Dr. Roberto Scipioni, SINTEF Industr,y Trondheim, Norway
Dr. Nadia Steiner UBFC, Belfort, France
Dr. Yash Raka, SINTEF Industry, Trondheim, Norway
Dr. Loic Vichard, UBFC, Belfort, France

Contact

Funding
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 875087. Programme: H2020-EU.3.4.6.1. - Reduce the production cost of fuel cell systems to be used in transportation applications, while increasing their lifetime to levels which can compete with conventional technologies. Topic: FCH-01-3-2019 - Cyber-physical platform for hybrid Fuel Cell Systems.


Contents

- - - - - - - - - - - -
NameDescription
UsersGuideUser information for the VirtualFCS library
ControlControl algorithms for hybrid fuel cell & battery systems.
ElectricalElectrical components supplementing the Modelica Standard Library.
ElectrochemicalElectrochemical energy storage and conversion devices.
ExamplesExamples of the VirtualFCS library in action!
FluidFluid components supplementing the Modelica Standard Library.
ThermalThermal components supplementing the Modelica Standards Library.
SubSystemsEncapsulated support subsystems for modelling fuel cell systems.
VehiclesVehicle profiles and drive cycle data.
XInTheLoopComponents for X-in-the-Loop functionality.
UtilitiesSupporting utilities and data.

Generated at The system cannot accept the date entered. -Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.14.1 (64-bit) using GenerateDoc.mos \ No newline at end of file +Modelica Documentation

Modelica Documentation

+

This is a listing of builtin Modelica functions, miscellaneous Modelica libraries stored in a git repository. There is also documentation for OpenModelica-specific scripting.

+

Note that not all libraries are supported or have been tested. Feel free to add bug reports either to OpenModelica (for compiler bugs) or to the GitHub projects for enhancements or bugs in the libraries. Older libraries may contain broken links and images (only libraries with modelica:// links produce good documentation). The Modelica Standard Library is the best supported package in OpenModelica.

+

Libraries

+
NameDescriptionVersion
AixLib1.3.2
AssertionLevel
BuildingsLibrary with models for building energy and control systems9.1.0
Clock
ComplexComplex number with overloaded operators4.0.0
Connections
Correlationdefines correlation between two uncertainty variables
Distribution
DynamicSelectselect static or dynamic expressions in the annotations
ExternalObject
ModelicaModelica Standard Library - Version 4.0.04.0.0
ModelicaServicesModelicaServices (OpenModelica implementation) - Models and functions used in the Modelica Standard Library requiring a tool specific implementation4.0.0
Modelica_DeviceDriversModelica_DeviceDrivers - A collection of drivers interfacing hardware like input devices, communication devices, shared memory, analog-digital converters and else2.1.1
OMC_ARGS
OMC_CLOCK
OMC_NO_ARGS
OMC_NO_CLOCK
OpenModelicaOpenModelica internal definitions and scripting functionsOpenModelica v1.24.4 (64-bit)
PowerSystemsLibrary for electrical power systems1.0.1
SDFScientific Data Format (empty version)0.0.0
StateSelect
Subtask
Uncertainty
VirtualFCSVirtualFCS - VIRTUAL & physical platform for Fuel Cell System development2.0.0
absAbsolute value
acosInverse cosine (-1 <= u <= 1)
activeStateReturn true if instance of a state machine is active, otherwise false
actualStream
arrayConstructs an array
asinInverse sine (-1 <= u <= 1)
assertCheck an assertion condition
atanInverse tangent
atan2Four quadrant inverse tangent
backSampleFirst activation of clock is shifted in time before activation of uModelica 3.3
cardinalityNumber of connectors in connectionDeprecated
catConcatenate arrays along given dimension
ceilRound a real number towards plus infinity
changeIndicate discrete variable changing
classDirectoryNon-standard operatorDymola / MSL 2.2.1
cosCosine
coshHyperbolic cosine
crossCross product of two 3-vectors
delayDelay expression
derDerivative of the input expression
diagonalReturns a diagonal matrix
divInteger part of a division of two Real numbers
edgeIndicate rising edge
expExponential, base e
fillReturns an array with all elements equal
firstTickReturns the interval between the previous and present tick of the clock of its argument
floorRound a real number towards minus infinity
getInstanceNameModelica 3.3
holdConversion from clocked discrete-time to continuous timeModelica 3.3
homotopyHomotopy operator actual*lambda + simplified*(1-lambda)Modelica 3.2
identityIdentity matrix of given size
inStream
initialTrue if in initialization phase
initialStateDefine inital state of a state machine
integerReturns the largest integer not greater than x. The argument shall have type Real. The result has type Integer. [Note, outside of a when-clause state events are triggered when the return value changes discontinuously.].
intervalReturns the interval between the previous and present tick of the clock of its argument
linspaceReal vector with equally spaced elements
logNatural (base e) logarithm (u shall be > 0)
log10Base 10 logarithm (u shall be > 0)
matrixReturns the first two dimensions of an array as matrix
max
min
modInteger modulus of a division of two Real numbers
ndimsNumber of array dimensions
noClockClock of y=Clock(u) is always inferredModelica 3.3
noEventTurn off event triggering
onesReturns a one array
outerProductOuter product of two vectors
preRefer to left limit
previousAccess previous value of a clocked variableModelica 3.3
printPrints to stdout, useful for debugging.OpenModelica extension
productProduct of all array elements
promote
pureModelica 3.4
reinitReinitialize state variable
remInteger remainder of the division of two Real numbers
rooted
sampleReturns the interval between the previous and present tick of the clock of its argument
scalarReturns a one-element array as scalar
semiLinear
shiftSampleFirst activation of clock is shifted in timeModelica 3.3
signSign of real or integer number
sinSine
sinhHyperbolic sine
sizeReturns dimensions of an array
skewThe skew matrix associated with the vector
smoothIndicate smoothness of expression
spatialDistributionApproximation of variable-speed transport of propertiesModelica 3.3
sqrtSquare root
subSampleConversion from faster clock to slower clockModelica 3.3
sumSum of all array elements
superSampleConversion from slower clock to faster clockModelica 3.3
symmetricReturns a symmetric matrix
tanTangent (u shall not be -pi/2, pi/2, 3*pi/2, ...)
tanhHyperbolic tangent
terminalTrue after successful analysis
ticksInStateReturns the number of clock ticks since a transition was made to the currently active state
timeInStateReturns the time duration as Real in [s] since a transition was made to the currently active state
transitionDefine state machine transition
transposeTranspose a matrix
vectorReturns an array as vector
zerosReturns a zero array
+

Builtin Environment

+
NameDescriptionVersion
MetaModelicaMetaModelica Language Extensions
+
Generated at The system cannot accept the date entered. +Enter the new date: (dd-mm-yy) by OpenModelicaOpenModelica v1.24.4 (64-bit) using GenerateDoc.mos. Offline version (tar.xz) (zip)
. + \ No newline at end of file diff --git a/docs/loadModel.mos b/docs/loadModel.mos new file mode 100644 index 0000000..93ac948 --- /dev/null +++ b/docs/loadModel.mos @@ -0,0 +1,8 @@ +if loadModel(AixLib) then true else if loadModel(AixLib,languageStandard="2.x") then true else loadModel(AixLib,languageStandard="1.x");getErrorString(); +if loadModel(Buildings) then true else if loadModel(Buildings,languageStandard="2.x") then true else loadModel(Buildings,languageStandard="1.x");getErrorString(); +if loadModel(Complex) then true else if loadModel(Complex,languageStandard="2.x") then true else loadModel(Complex,languageStandard="1.x");getErrorString(); +if loadModel(Modelica) then true else if loadModel(Modelica,languageStandard="2.x") then true else loadModel(Modelica,languageStandard="1.x");getErrorString(); +if loadModel(ModelicaServices) then true else if loadModel(ModelicaServices,languageStandard="2.x") then true else loadModel(ModelicaServices,languageStandard="1.x");getErrorString(); +if loadModel(Modelica_DeviceDrivers) then true else if loadModel(Modelica_DeviceDrivers,languageStandard="2.x") then true else loadModel(Modelica_DeviceDrivers,languageStandard="1.x");getErrorString(); +if loadModel(PowerSystems) then true else if loadModel(PowerSystems,languageStandard="2.x") then true else loadModel(PowerSystems,languageStandard="1.x");getErrorString(); +if loadModel(SDF) then true else if loadModel(SDF,languageStandard="2.x") then true else loadModel(SDF,languageStandard="1.x");getErrorString(); diff --git a/docs/style.css b/docs/style.css index 91026d4..9ece88a 100644 --- a/docs/style.css +++ b/docs/style.css @@ -1,51 +1,51 @@ -.omc-h1 -{ - font-family: mono; - font-size: x-large; - color:rgb(153,0,0); - vertical-align: middle; -} - -.omc-h1-a -{ - font-family: mono; - font-size: large; - vertical-align: middle; -} - -table -{ - border-color: black; - border-width: 1px 1px 1px 1px; - border-style: solid; - border-spacing: 0; - border-collapse: collapse; -} - -table td,th -{ - border-color: black; - border-width: 1px 1px 1px 1px; - border-style: solid; - margin: 0; - padding: 4px; - vertical-align: top; -} - -pre -{ - white-space: pre-wrap; /* CSS 3 */ -} - -.svgiconhead { - height: 32px; - width: 32px; - vertical-align: top; - -o-object-fit: contain; -} -.svgiconsmall { - height: 20px; - width: 20px; - vertical-align: top; - -o-object-fit: contain; -} +.omc-h1 +{ + font-family: mono; + font-size: x-large; + color:rgb(153,0,0); + vertical-align: middle; +} + +.omc-h1-a +{ + font-family: mono; + font-size: large; + vertical-align: middle; +} + +table +{ + border-color: black; + border-width: 1px 1px 1px 1px; + border-style: solid; + border-spacing: 0; + border-collapse: collapse; +} + +table td,th +{ + border-color: black; + border-width: 1px 1px 1px 1px; + border-style: solid; + margin: 0; + padding: 4px; + vertical-align: top; +} + +pre +{ + white-space: pre-wrap; /* CSS 3 */ +} + +.svgiconhead { + height: 32px; + width: 32px; + vertical-align: top; + -o-object-fit: contain; +} +.svgiconsmall { + height: 20px; + width: 20px; + vertical-align: top; + -o-object-fit: contain; +} diff --git a/docs/tidy.err b/docs/tidy.err index 06a8d8a..8bb899f 100644 --- a/docs/tidy.err +++ b/docs/tidy.err @@ -1,4 +1,4 @@ Traceback (most recent call last): - File "Tidy.py", line 4, in + File "C:\Users\benjamins\Documents\GitHub\VirtualFCS\VirtualFCS\docs\Tidy.py", line 7, in from bs4 import BeautifulSoup -ImportError: No module named bs4 +ModuleNotFoundError: No module named 'bs4'