-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaning up the code with some new objects
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
classdef Component | ||
%UNTITLED Summary of this class goes here | ||
% Detailed explanation goes here | ||
|
||
properties | ||
name | ||
formula | ||
MW | ||
Tc | ||
Pc | ||
Vc | ||
Zc | ||
acentric_factor | ||
Psat_eq | ||
Psat_coefs | ||
PsatTrange | ||
Psatrange | ||
dh_vap_eq | ||
dh_vap_coefs | ||
dh_vap_Trange | ||
dh_vap_range | ||
cp_liq_eq | ||
cp_liq_coefs | ||
cp_liq_Trange | ||
cp_liq_range | ||
cp_ig_eq | ||
cp_ig_coefs | ||
cp_ig_Trange | ||
cp_ig_range | ||
dhf_ig | ||
dgf_ig | ||
ds_ig | ||
dh_comb | ||
end | ||
|
||
methods | ||
function obj = untitled(inputArg1,inputArg2) | ||
%UNTITLED Construct an instance of this class | ||
% Detailed explanation goes here | ||
obj.Property1 = inputArg1 + inputArg2; | ||
end | ||
|
||
function outputArg = method1(obj,inputArg) | ||
%METHOD1 Summary of this method goes here | ||
% Detailed explanation goes here | ||
outputArg = obj.Property1 + inputArg; | ||
end | ||
end | ||
end | ||
|
Empty file.