A thermodynamics domain theory.
Dme
Cml
Unary-Scalar-Functions
Physical-Quantities
Frame-Ontology
Kif-Relations
Kif-Sets
Kif-Lists
Kif-Numbers
Abstract-Algebra
Frame-Ontology ...
Standard-Units
Physical-Quantities ...
Standard-Units ...
Cml ...
No theories include Thermodynamics.
1-1-Control-Volume-Op-Mode
Internally-Reversible-Adiabatic-Process
Pump-Power-Input-Per-Mass-Approximation
2-1-Open-Feedwater-Heater-System
2-2-Closed-Feedwater-Heater-System
2d-Stream-Operating-Mode
Non-Saturated-Water-Stream-Enthalpy
Saturated-Water-Stream-Enthalpy
Saturated-Water-Stream-Entropy
Saturated-Water-Stream-Specific-Volume
2d-Stream-Mass-Flow-Rate
2d-Stream-Enthalpy-Rate
2d-Stream-Potential-Energy
2d-Stream-Kinetic-Energy
3-1-Open-Feedwater-Heater-System
Air-Operating-Mode
Control-Volume-Inlet-Stream-Thermodynamic-State
Control-Volume-Outlet-Stream-Thermodynamic-State
Boiler-System
Compressor-System
Control-Volume-Op-Mode
Cycle-Heat-Input
Cycle-Work-Output
Control-Volume-Inlet-Stream-Ideal-Gas-Law
Control-Volume-Outlet-Stream-Ideal-Gas-Law
Control-Volume-Inlet-Stream-Thermodynamic-State
Control-Volume-Outlet-Stream-Thermodynamic-State
Control-Volume-Negligible-Pe-Change
Control-Volume-Negligible-Ke-Change
Earth-Bound-Model
2d-Stream-Potential-Energy
Extraction-Turbine-System
Nozzle-System
Pump-Operating-Mode
Pump-Power-Input-Per-Mass-Approximation
Pump-System
Steam-Generator-With-Reheat-System
Stream-Junction
Substance
Fuel
Water
Air
Substance-Container
Stream
2d-Stream
Control-Volume
1-Input-Control-Volume
1-1-Control-Volume
1-2-Control-Volume
1-Output-Control-Volume
1-1-Control-Volume
2-1-Control-Volume
3-1-Control-Volume
2-Input-Control-Volume
3-Input-Control-Volume
3-1-Control-Volume
2-1-Control-Volume
2-2-Control-Volume
2-Output-Control-Volume
1-2-Control-Volume
2-2-Control-Volume
System-With-Condensor
Condensor-System
Condensor-With-Heat-Transfer-System
Thermal-Component-Op-Mode
Cycle-Heat-Input
Thermal-Cycle-Op-Mode
Cycle-Heat-Input
Cycle-Work-Output
Thermal-Process
Steady-State-Steady-Flow-Process
Steady-Flow-Adiabatic-Process
Steady-Flow-Isentropic-Process
Steady-Flow-Adiabatic-Heat-Exchange
Steady-Flow-Adiabatic-Expansion
Steady-Flow-Adiabatic-Compression
Steady-Flow-Throttling
Steady-Flow-Adiabatic-Mixing
Steady-Flow-Combustion-Process
Steady-Flow-In-Nozzle
Steady-Flow-In-Diffuser
Steady-Flow-Isobaric-Process
Steady-Flow-Isobaric-Heat-Transfer
Steady-Flow-Isothermal-Process
Steady-Flow-Heat-Transfer
Steady-Flow-Isobaric-Heat-Transfer
Steady-Flow-Expansion-Or-Compression
Steady-Flow-Expansion
Steady-Flow-Adiabatic-Expansion
Steady-Flow-Throttling
Steady-Flow-In-Nozzle
Steady-Flow-Compression
Steady-Flow-Adiabatic-Compression
Steady-Flow-In-Diffuser
Non-Steady-State-Flow-Process
Thermal-Process-Op-Mode
Cycle-Heat-Input
Cycle-Work-Output
Pump-Power-Input-Per-Mass-Approximation
Thermal-System
Thermal-Cycle
Power-System-Eight-One
Power-System-With-Reheat
Power-System-With-Extraction-Turbines
Thermal-Component
Port
1-Input-Thermal-Component
1-1-Port-Thermal-Component
Nozzle
Simple-Turbine
2-Port-Heat-Exchanger
Compressor
Pump
Pump
Boiler
1-2-Port-Thermal-Component
Extraction-Turbine
1-Output-Thermal-Component
1-1-Port-Thermal-Component ...
2-1-Port-Thermal-Component
2-1-Open-Feedwater-Heater
3-1-Port-Thermal-Component
3-1-Open-Feedwater-Heater
2-Input-Thermal-Component
3-Input-Thermal-Component
3-1-Port-Thermal-Component ...
2-1-Port-Thermal-Component ...
2-2-Port-Thermal-Component
2-2-Open-Feedwater-Heater
2-2-Closed-Feedwater-Heater
Steam-Generator-With-Reheat
2-Output-Thermal-Component
1-2-Port-Thermal-Component ...
2-2-Port-Thermal-Component ...
Fuel-Consuming-Component
Work-Consuming-Component
Compressor ...
Work-Producing-Component
Internal-Combustion-Engine
Turbine
Simple-Turbine
Extraction-Turbine
Heating-Component
Cooling-Component
Rotating-Component
Positive-Displacement-Component
Reciprocating-Component
Internal-Combustion-Engine
Turbine ...
Heat-Exchanger
2-Port-Heat-Exchanger
4-Port-Heat-Exchanger
Open-Feedwater-Heater
2-1-Open-Feedwater-Heater
2-2-Open-Feedwater-Heater
3-1-Open-Feedwater-Heater
2-2-Closed-Feedwater-Heater
Turbine-System
Water-Operating-Mode
Non-Saturated-Water-Stream-Enthalpy
Saturated-Water-Stream-Enthalpy
Saturated-Water-Stream-Entropy
Saturated-Water-Stream-Specific-Volume
The following constants were used from included theories:
The following constants were undefined:
False True Adiabatic-Throttling State-Temperature *Dead-State*
The SI dimension of amount, usually measured in moles.
The SI dimension of electric current.
The dimensionless dimension.
The SI dimension of length.
The SI dimension of luminosity.
The SI dimension of mass.
The SI dimension of temperature.
The SI dimension of time.
(= Mass-Rate-Dimension (/ Mass-Dimension Time-Dimension))
(= Velocity-Dimension (/ Length-Dimension Time-Dimension))
(= Area-Dimension (Expt Length-Dimension 2))
(= Volume-Dimension (Expt Length-Dimension 3))
(= Specific-Volume-Dimension (/ Volume-Dimension Mass-Dimension))
(= Energy-Dimension
(/ (* Mass-Dimension (Expt Length-Dimension 2))
(Expt Time-Dimension 2) ))
(= Specific-Energy-Dimension (/ Energy-Dimension Mass-Dimension))
(= Energy-Rate-Dimension (/ Energy-Dimension Time-Dimension))
(= Work-Dimension Energy-Dimension)
(= Power-Dimension (/ Work-Dimension Time-Dimension))
(= Entropy-Dimension (/ Energy-Dimension Temperature-Dimension))
(= Specific-Entropy-Dimension (/ Entropy-Dimension Mass-Dimension))
(= Entropy-Rate-Dimension (/ Entropy-Dimension Time-Dimension))
(= Pressure-Dimension (/ Mass-Dimension (* Length-Dimension (Expt Time-Dimension 2))) )
the dimension of mass/mole
(= Molecular-Weight-Dimension (/ Mass-Dimension Amount-Dimension))
(= Kg/Mol (/ Kilogram Mole))
the dimension of mass/volume
(= Density-Dimension (/ Mass-Dimension Volume-Dimension))
(= Kg/M^3 (/ Kilogram (Expt Meter 3)))
the dimension of acceleration
(= Acceleration-Dimension (/ Velocity-Dimension Time-Dimension))
(= M/S^2 (/ Meter (Expt Second 2)))
(= Frequency-Dimension (Expt Time-Dimension -1))
mutual-dependence is an n-ary operator. The meaning is notwell-defined right now. Eg: (mutual-dependence (stream-pressure
2d-stream-1) (stream-temperature 2d-stream-1) (specific-entropy
2d-stream-1) (specific-enthalpy 2d-stream-1) (specific-internal-energy 2d-stream-1) (specific-volume
2d-stream-1)) We don't know how to compute this yet. It will be a
call to an outside routine or a table lookup.
Computes the specific enthalpy from the temperature. Eg: (compute-air-thermodynamic-state (stream-temperature 2d-stream-1))
We don't know how to compute this yet. It will be a call to an
outside routine or a table lookup.
Computes the specific enthalpy of saturated vapor from the quality (0 or 1) and the pressure. Eg: (compute-saturated-vapor-entropy (stream-pressure (stream-involved ?self)) (quality (stream-involved
?self))) We don't know how to compute this yet. It will be a call to an outside routine or a table lookup.
Computes the specific entropy of saturated vapor from the quality (0 or 1) and the pressure.
Eg: (compute-saturated-vapor-entropy (stream-pressure (stream-involved ?self))
(quality (stream-involved ?self)))
We don't know how to compute this yet. It will be a call to an outside routine or a table lookup.
Computes the specific volume of saturated vapor from the quality (0 or 1) and the pressure.Eg: (compute-saturated-vapor-specific-volume (stream-pressure (stream-involved ?self))
(quality (stream-involved ?self)))
We don't know how to compute this yet. It will be a call to an outside routine or a table lookup.
Computes the enthalpy from pressure and specific entropy. We don'tcompute this yet. It will be a call to an outside routine or a
table lookup.
thermodynamic system
(Forall (?Self ?Time)
(<=> (Active ?Time Thermal-System ?Self)
(And (Thermal-System ?Self) (Active ?Time Thing ?Self)) ))
the control-volume associated with the system
a thermodynamic system involving a cycle
Slots Of Instances:
(Forall (?Self ?Time)
(=> (Active ?Time Thermal-Cycle ?Self)
(= (/ (Lambda (?T)
(If (= ?T ?Time)
(Value-At (Net-Work-Output-Rate ?Self)
?T)))
1000000 )
(- (Lambda (?T)
(If (= ?T ?Time)
(Value-At (Net-Heat-Input-Rate ?Self)
?T)))
(Lambda (?T)
(If (= ?T ?Time)
(Value-At (Net-Heat-Output-Rate ?Self)
?T)))))))
(Forall (?Self ?Time)
(<=> (Active ?Time Thermal-Cycle ?Self)
(And (Thermal-Cycle ?Self)
(Active ?Time Thermal-System ?Self) )))
(=> (Thermal-Cycle ?Self)
(And (Quantity.Dimension (Net-Heat-Output-Rate ?Self)
Power-Dimension)
(Quantity.Dimension (Net-Work-Output-Rate ?Self)
Power-Dimension)
(Quantity.Dimension (Net-Heat-Input-Rate ?Self)
Power-Dimension)
(Quantity.Dimension (Thermal-Efficiency ?Self)
Dimensionless)
(Quantity.Dimension (Back-Work-Ratio ?Self) Dimensionless)
(Quantity.Dimension (Cycle-Mass-Rate ?Self)
Mass-Rate-Dimension)))
A quantity function
A quantity function
A quantity function
A quantity function
A quantity function
A quantity function
the set of all the processes that are part of the cycle
the operating modes of thermal processes
Slots Of Instances:
(Forall (?Self ?Process-Involved)
(<=> (And (= (Process-Involved ?Self) ?Process-Involved)
(Thermal-Process-Op-Mode ?Self) )
(And (Operating-Mode-Model ?Self)
(Thermal-Process ?Process-Involved) )))
(Forall (?Self ?Time)
(<=> (Active ?Time Thermal-Process-Op-Mode ?Self)
(And (Thermal-Process-Op-Mode ?Self)
(Active ?Time Operating-Mode-Model ?Self) )))
A participant function
the operating modes of thermal cycles
Slots Of Instances:
(Forall (?Self ?Cycle-Involved)
(<=> (And (= (Cycle-Involved ?Self) ?Cycle-Involved)
(Thermal-Cycle-Op-Mode ?Self) )
(And (Operating-Mode-Model ?Self)
(Thermal-Cycle ?Cycle-Involved) )))
(Forall (?Self ?Time)
(<=> (Active ?Time Thermal-Cycle-Op-Mode ?Self)
(And (Thermal-Cycle-Op-Mode ?Self)
(Active ?Time Operating-Mode-Model ?Self) )))
A participant function
the operating modes of thermal components
Slots Of Instances:
(Forall (?Self ?Component-Involved)
(<=> (And (= (Component-Involved ?Self) ?Component-Involved)
(Thermal-Component-Op-Mode ?Self) )
(And (Operating-Mode-Model ?Self)
(Thermal-Component ?Component-Involved) )))
(Forall (?Self ?Time)
(<=> (Active ?Time Thermal-Component-Op-Mode ?Self)
(And (Thermal-Component-Op-Mode ?Self)
(Active ?Time Operating-Mode-Model ?Self) )))
A participant function
the operating mode of a thermal cycle for computing the net heat input rate
(Forall (?Self)
(<=> (Cycle-Heat-Input ?Self)
(And (Thermal-Process-Op-Mode ?Self)
(Thermal-Cycle-Op-Mode ?Self)
(Control-Volume-Op-Mode ?Self)
(Thermal-Component-Op-Mode ?Self)
(Process-Cv Process-Involved Cv-Involved)
(Component-Cv Component-Involved Cv-Involved)
(Connected-To-External-Heat-Source-P
Component-Involved
True))))
(Forall
(?Self ?Time)
(=> (Active ?Time Cycle-Heat-Input ?Self)
(C+ (Lambda (?T)
(If (= ?T ?Time)
(Value-At (Heat-Rate (Process-Involved ?Self) )
?T)))
(Lambda
(?T)
(If (= ?T ?Time)
(Value-At (Net-Heat-Input-Rate
(Cycle-Involved ?Self) )
?T))))))
(Forall (?Self ?Time)
(<=> (Active ?Time Cycle-Heat-Input ?Self)
(And (Cycle-Heat-Input ?Self)
(Active ?Time Thermal-Process-Op-Mode ?Self)
(Active ?Time Thermal-Cycle-Op-Mode ?Self)
(Active ?Time Control-Volume-Op-Mode ?Self)
(Active ?Time Thermal-Component-Op-Mode ?Self) )))
the operating mode of a thermal cycle for computing the net work output rate
(Forall (?Self)
(<=> (Cycle-Work-Output ?Self)
(And (Thermal-Process-Op-Mode ?Self)
(Thermal-Cycle-Op-Mode ?Self)
(Control-Volume-Op-Mode ?Self)
(Process-Cv Process-Involved Cv-Involved) )))
(Forall
(?Self ?Time)
(=> (Active ?Time Cycle-Work-Output ?Self)
(C+ (Lambda (?T)
(If (= ?T ?Time)
(Value-At (Work-Rate (Process-Involved ?Self) )
?T)))
(Lambda
(?T)
(If (= ?T ?Time)
(Value-At
(Net-Work-Output-Rate (Cycle-Involved ?Self))
?T))))))
(Forall (?Self ?Time)
(<=> (Active ?Time Cycle-Work-Output ?Self)
(And (Cycle-Work-Output ?Self)
(Active ?Time Thermal-Process-Op-Mode ?Self)
(Active ?Time Thermal-Cycle-Op-Mode ?Self)
(Active ?Time Control-Volume-Op-Mode ?Self) )))
a thermodynamic device
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time Thermal-Component ?Self)
(And (Thermal-Component ?Self)
(Active ?Time Thermal-System ?Self) )))
(=> (Thermal-Component ?Self)
(Quantity.Dimension (Efficiency ?Self) Dimensionless) )
A quantity function
A quantity function
A quantity function
In the thermal domain, all the ports are fluid ports.Unlike 'terminal' in DME, a port is independent of a component.
It is a combination of a 'joint' and a 'terminal'.
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time Port ?Self)
(And (Port ?Self)
(Active ?Time Thermal-Component ?Self) )))
(=> (Port ?Self)
(And (Quantity.Dimension (Port-Area ?Self) Area-Dimension)
(Quantity.Dimension (Port-Elevation ?Self) Length-Dimension) ))
A quantity function
A quantity function
the class of thermal components with one inlet
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time 1-Input-Thermal-Component ?Self)
(And (1-Input-Thermal-Component ?Self)
(Active ?Time Thermal-Component ?Self) )))
An attribute function
the class of thermal components with one outlet
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time 1-Output-Thermal-Component ?Self)
(And (1-Output-Thermal-Component ?Self)
(Active ?Time Thermal-Component ?Self) )))
An attribute function
the class of thermal components with two inlets
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time 2-Input-Thermal-Component ?Self)
(And (2-Input-Thermal-Component ?Self)
(Active ?Time Thermal-Component ?Self) )))
An attribute function
An attribute function
the class of thermal components with three inlets
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time 3-Input-Thermal-Component ?Self)
(And (3-Input-Thermal-Component ?Self)
(Active ?Time 2-Input-Thermal-Component ?Self) )))
An attribute function
the class of thermal components with two outlets
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time 2-Output-Thermal-Component ?Self)
(And (2-Output-Thermal-Component ?Self)
(Active ?Time Thermal-Component ?Self) )))
An attribute function
An attribute function
The class of thermal components with one inlet and one outlet.
(Forall (?Self ?Time)
(<=> (Active ?Time 1-1-Port-Thermal-Component ?Self)
(And (1-1-Port-Thermal-Component ?Self)
(Active ?Time 1-Input-Thermal-Component ?Self)
(Active ?Time 1-Output-Thermal-Component ?Self) )))
The class of thermal components with one inlet and two outlets.
(Forall (?Self ?Time)
(<=> (Active ?Time 1-2-Port-Thermal-Component ?Self)
(And (1-2-Port-Thermal-Component ?Self)
(Active ?Time 1-Input-Thermal-Component ?Self)
(Active ?Time 2-Output-Thermal-Component ?Self) )))
the class of thermal components with two inlets and one outlet
(Forall (?Self ?Time)
(<=> (Active ?Time 2-1-Port-Thermal-Component ?Self)
(And (2-1-Port-Thermal-Component ?Self)
(Active ?Time 2-Input-Thermal-Component ?Self)
(Active ?Time 1-Output-Thermal-Component ?Self) )))
the class of thermal components with two inlets and two outlets
(Forall (?Self ?Time)
(<=> (Active ?Time 2-2-Port-Thermal-Component ?Self)
(And (2-2-Port-Thermal-Component ?Self)
(Active ?Time 2-Input-Thermal-Component ?Self)
(Active ?Time 2-Output-Thermal-Component ?Self) )))
the class of thermal components with three inlets and one outlet
(Forall (?Self ?Time)
(<=> (Active ?Time 3-1-Port-Thermal-Component ?Self)
(And (3-1-Port-Thermal-Component ?Self)
(Active ?Time 3-Input-Thermal-Component ?Self)
(Active ?Time 1-Output-Thermal-Component ?Self) )))
the fuel used in power systems
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time Fuel ?Self)
(And (Fuel ?Self) (Active ?Time Substance ?Self)) ))
A quantity function
the class of components which require fuel input
Slots Of Instances:
(Forall (?Self ?Time)
(=> (Active ?Time Fuel-Consuming-Component ?Self)
(= (Lambda (?T)
(If (= ?T ?Time)
(Value-At (Heat-Supply-Rate ?Self) ?T) ))
(* (Lambda (?T)
(If (= ?T ?Time)
(Value-At (Fuel-Supply-Rate ?Self) ?T) ))
(Lambda (?T)
(If (= ?T ?Time)
(Value-At (Heating-Value Fuel) ?T) ))))))
(Forall (?Self ?Time)
(<=> (Active ?Time Fuel-Consuming-Component ?Self)
(And (Fuel-Consuming-Component ?Self)
(Active ?Time Thermal-Component ?Self) )))
(=> (Fuel-Consuming-Component ?Self)
(And (Quantity.Dimension (Fuel-Supply-Rate ?Self) Mass-Dimension)
(Quantity.Dimension (Heat-Supply-Rate ?Self)
Power-Dimension)))
A quantity function
A quantity function
the class of components which require work input
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time Work-Consuming-Component ?Self)
(And (Work-Consuming-Component ?Self)
(Active ?Time Thermal-Component ?Self) )))
(=> (Work-Consuming-Component ?Self)
(Quantity.Dimension (Power-Input ?Self) Power-Dimension) )
A quantity function
This is the class of components which produce work output.
Slots Of Instances:
(Forall (?Self ?Time)
(<=> (Active ?Time Work-Producing-Component ?Self)
(And (Work-Producing-Component ?Self)
(Active ?Time Thermal-Component ?Self) )))
(=> (Work-Producing-Component ?Self)
(Quantity.Dimension (Power-Output ?Self) Power-Dimension) )