Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
32ba9eb
calculating derivatives to input vars
ngomezve Jun 20, 2025
d25dd24
Merge branch 'main' into dev_derivatives
ngomezve Jul 17, 2025
13e2c6c
started parameterizion of Gas() type
ngomezve Jul 18, 2025
7241dff
continuing type parameterization
ngomezve Jul 24, 2025
057974d
eliminated issue with X vector initialization
ngomezve Jul 24, 2025
cac6a7b
fixed issue in AFT calc
ngomezve Jul 24, 2025
6719a61
expanded paramteric types to turbo
ngomezve Jul 24, 2025
c42f714
extended autodiff to combustion calcs
ngomezve Jul 24, 2025
a1a2dd4
created autodiff tests
ngomezve Jul 25, 2025
d6601a8
two types for turbo funs + mach test
ngomezve Jul 25, 2025
5e8473c
added autodiff tests + extended to Gas1D
ngomezve Jul 25, 2025
9d53450
extended types to atmos
ngomezve Jul 25, 2025
469d1bb
edited fun docstrings to reflect parametric typing
ngomezve Jul 25, 2025
c71c3bc
added a basic turbojet as a test
ngomezve Jul 25, 2025
677bb1f
big speedup through species typing
ngomezve Jul 25, 2025
de4bc8d
fixed issue in Gas1D dual types
ngomezve Jul 25, 2025
d8b23bf
simplified parametric typing
ngomezve Jul 29, 2025
c86f1ca
proper entropy complement calc when instantiating
ngomezve Jul 29, 2025
41c8322
added note on autodiff to readme
ngomezve Jul 31, 2025
2edc52c
simplified type syntax
ngomezve Jul 31, 2025
7c88ed6
fixed docs
ngomezve Jul 31, 2025
dd87cf5
eliminated some type instabilities
ngomezve Aug 1, 2025
1bbc898
better typing in combustion functions
ngomezve Aug 1, 2025
f987a8a
fixed issue with Gas(Y) generation
ngomezve Sep 3, 2025
08ee219
added speed of sound as gas field
ngomezve Sep 4, 2025
b313848
note on forwarddiff to docs
ngomezve Sep 19, 2025
6db1603
added note om autodiff to docs
ngomezve Sep 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
docs/build/*
*.code-workspace
.VSCodeCounter/*
*png
*png
*json
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ authors = ["Prashanth Prakash <prash@mit.edu> and contributors"]
version = "1.0.0"

[deps]
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ This package is primarily intended for use in gas turbine cycle calculations wit

This package also introduces a method for fast calculations of thermodynamic properties of mixtures with fixed composition by calculating an equivalent polynomial representation of the mixture. See docs for theory and performance details.

This package uses parametric typing to make it compatible with automatic forward-mode differentiation.
1 change: 0 additions & 1 deletion docs/src/gas.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ information about the gas mixture.
```@docs
Gas
Gas()
Base.setproperty!(gas::Gas, sym::Symbol, val::Float64)
```

## Single component gases
Expand Down
3 changes: 1 addition & 2 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ of the gas/mixture is only a function of its temperature, i.e., $c_p(T)$ ,
$h(T)$, and $s(T,p)$ (note the entropy is a function of both pressure and temperature).

One of the important features of `IdealGasThermo.jl` is the ability to represent
a mixture of gases as a single [`composite_species`](@ref vitiated).

a mixture of gases as a single [`composite_species`](@ref vitiated). This package uses parametric typing to make it compatible with forward-mode automatic differentiation.

## Getting started

Expand Down
Loading