Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TAeZoSysPro_testsuite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TAeZoSysPro
TAeZoSysPro_testsuite
Commits
302a4dcc
Commit
302a4dcc
authored
4 years ago
by
MARSOLLIER Felix
Browse files
Options
Downloads
Patches
Plain Diff
Addition of a test for the specific heat calculation of the Moist Air media
parent
6002ebf5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Media/SimpleMoistAir/package.order
+1
-0
1 addition, 0 deletions
Media/SimpleMoistAir/package.order
Media/SimpleMoistAir/test_cp.mo
+16
-0
16 additions, 0 deletions
Media/SimpleMoistAir/test_cp.mo
with
17 additions
and
0 deletions
Media/SimpleMoistAir/package.order
+
1
−
0
View file @
302a4dcc
...
...
@@ -2,3 +2,4 @@ test_enthalpyOfVaporization
test_T_phX
test_d_phX
test_pressure
test_cp
This diff is collapsed.
Click to expand it.
Media/SimpleMoistAir/test_cp.mo
0 → 100644
+
16
−
0
View file @
302a4dcc
within TAeZoSysPro_testsuite.Media.SimpleMoistAir;
model test_cp
package Medium = TAeZoSysPro.Media.Air.MoistAir ;
parameter Modelica.SIunits.Pressure p = 101325 ;
parameter Modelica.SIunits.Temperature T = 303.15 ;
Modelica.SIunits.Pressure p_sat ;
Medium.ThermodynamicState state ;
Modelica.SIunits.SpecificHeatCapacityAtConstantPressure cp ;
equation
p_sat = Medium.saturationPressure(T);
state = TAeZoSysPro.Media.Air.MoistAir.setState_pTX(p = p, T = T, X={0.01, 0.99});
cp = Medium.specificHeatCapacityCp(state) ;
end test_cp;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment