docs: ISQ part 4 released

This commit is contained in:
Mateusz Pusz
2024-10-28 11:11:57 +01:00
parent c4583d279f
commit c72d801ef8
4 changed files with 11 additions and 4 deletions

View File

@ -24,6 +24,7 @@ In this series, we will describe:
- Part 1 - Introduction - Part 1 - Introduction
- [Part 2 - Problems when ISQ is not used](isq-part-2-problems-when-isq-is-not-used.md) - [Part 2 - Problems when ISQ is not used](isq-part-2-problems-when-isq-is-not-used.md)
- [Part 3 - Modelling ISQ](isq-part-3-modelling-isq.md) - [Part 3 - Modelling ISQ](isq-part-3-modelling-isq.md)
- [Part 4 - Implementing ISQ](isq-part-4-implemeting-isq.md)
## Terms and Definitions ## Terms and Definitions

View File

@ -26,6 +26,7 @@ library on just units or dimensions.
- [Part 1 - Introduction](isq-part-1-introduction.md) - [Part 1 - Introduction](isq-part-1-introduction.md)
- Part 2 - Problems when ISQ is not used - Part 2 - Problems when ISQ is not used
- [Part 3 - Modelling ISQ](isq-part-3-modelling-isq.md) - [Part 3 - Modelling ISQ](isq-part-3-modelling-isq.md)
- [Part 4 - Implementing ISQ](isq-part-4-implemeting-isq.md)
## Limitations of units-only solutions ## Limitations of units-only solutions

View File

@ -25,6 +25,7 @@ language.
- [Part 1 - Introduction](isq-part-1-introduction.md) - [Part 1 - Introduction](isq-part-1-introduction.md)
- [Part 2 - Problems when ISQ is not used](isq-part-2-problems-when-isq-is-not-used.md) - [Part 2 - Problems when ISQ is not used](isq-part-2-problems-when-isq-is-not-used.md)
- Part 3 - Modelling ISQ - Part 3 - Modelling ISQ
- [Part 4 - Implementing ISQ](isq-part-4-implemeting-isq.md)
## Dimension is not enough to describe a quantity ## Dimension is not enough to describe a quantity

View File

@ -1,5 +1,4 @@
--- ---
draft: true
date: 2024-10-28 date: 2024-10-28
authors: authors:
- mpusz - mpusz
@ -189,12 +188,16 @@ inline constexpr auto Gibbs_function = Gibbs_energy;
Again, the first parameter of `quantity_spec` determines the position in the tree. If a second Again, the first parameter of `quantity_spec` determines the position in the tree. If a second
argument is provided, it denotes a recipe for this quantity. argument is provided, it denotes a recipe for this quantity.
With the above simple definitions we've automatically addressed our _energy_-related issues from
the [Various quantities of the same dimension and kinds](isq-part-2-problems-when-isq-is-not-used.md#various-quantities-of-the-same-dimension-and-kinds)
chapter of the "Part 2" article.
## Modeling a hierarchy of kind _dimensionless_ ## Modeling a hierarchy of kind _dimensionless_
As the last example for this article, let's try to model and implement quantities of dimension one, As the last example for this article, let's try to model and implement quantities of dimension one,
often also called dimensionless quantities. This [quantity hierarchy](../../appendix/glossary.md#quantity-hierarchy) often also called dimensionless quantities. This [quantity hierarchy](../../appendix/glossary.md#quantity-hierarchy)
that contains more than one [quantity kind](../../appendix/glossary.md#kind) and more than one unit in its tree: contains more than one [quantity kind](../../appendix/glossary.md#kind) and more than one unit in its tree:
```mermaid ```mermaid
flowchart TD flowchart TD
@ -238,8 +241,9 @@ but still allow the usage of `one` and its scaled versions for such quantities.
!!! note !!! note
`dimensionless` is a special quantity, and it is predefined in the library's framework `dimensionless` is a special quantity which serves as an identity element in quantity
(there is no way for the user to define it). equations. It is predefined in the library's framework and there is no way for the user to
define it or something similar to it.
## To be continued... ## To be continued...