/[ascend]/trunk/models/atoms.a4l
ViewVC logotype

Diff of /trunk/models/atoms.a4l

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 843 by johnpye, Sun Sep 10 06:10:36 2006 UTC revision 844 by johnpye, Mon Sep 11 08:31:21 2006 UTC
# Line 740  END length_parameter; Line 740  END length_parameter;
740          nominal := 100.0{USD};          nominal := 100.0{USD};
741      END monetary_unit;      END monetary_unit;
742    
743  ATOM cost_per_volume REFINES solver_var      ATOM cost_per_volume REFINES solver_var
744          DIMENSION C/L^3          DIMENSION C/L^3
745          DEFAULT 1.0{USD/gallon};          DEFAULT 1.0{USD/gallon};
746          lower_bound := 0.0{USD/gallon};          lower_bound := 0.0{USD/gallon};
747          upper_bound := 1e50{USD/gallon};          upper_bound := 1e50{USD/gallon};
748          nominal := 1.0{USD/gallon};          nominal := 1.0{USD/gallon};
749  END cost_per_volume;      END cost_per_volume;
750    
751  ATOM cost_per_mass REFINES solver_var      ATOM cost_per_mass REFINES solver_var
752          DIMENSION C/M          DIMENSION C/M
753          DEFAULT 1.0{USD/lbm};          DEFAULT 1.0{USD/lbm};
754          lower_bound := 0.0{USD/lbm};          lower_bound := 0.0{USD/lbm};
755          upper_bound := 1e50{USD/lbm};          upper_bound := 1e50{USD/lbm};
756          nominal := 1.0{USD/lbm};          nominal := 1.0{USD/lbm};
757  END cost_per_mass;      END cost_per_mass;
758    
759  ATOM cost_per_mole REFINES solver_var      ATOM cost_per_mole REFINES solver_var
760          DIMENSION C/Q          DIMENSION C/Q
761          DEFAULT 1.0{USD/lb_mole};          DEFAULT 1.0{USD/lb_mole};
762          lower_bound := 0.0{USD/lb_mole};          lower_bound := 0.0{USD/lb_mole};
763          upper_bound := 1e50{USD/lb_mole};          upper_bound := 1e50{USD/lb_mole};
764          nominal := 1.0{USD/lb_mole};          nominal := 1.0{USD/lb_mole};
765  END cost_per_mole;      END cost_per_mole;
766    
767  ATOM cost_per_time REFINES solver_var      ATOM cost_per_time REFINES solver_var
768          DIMENSION C/T          DIMENSION C/T
769          DEFAULT 1.0{USD/min};          DEFAULT 1.0{USD/min};
770          lower_bound := 0.0{USD/min};          lower_bound := 0.0{USD/min};
771          upper_bound := 1e50{USD/min};          upper_bound := 1e50{USD/min};
772          nominal := 1.0{USD/min};          nominal := 1.0{USD/min};
773  END cost_per_time;      END cost_per_time;
774    
775  ATOM cost_per_energy REFINES solver_var      ATOM cost_per_energy REFINES solver_var
776          DIMENSION C*T^2/M/L^2          DIMENSION C*T^2/M/L^2
777          DEFAULT 1.0{USD/BTU};          DEFAULT 1.0{USD/BTU};
778          lower_bound := 0.0{USD/BTU};          lower_bound := 0.0{USD/BTU};
779          upper_bound := 1e50{USD/BTU};          upper_bound := 1e50{USD/BTU};
780          nominal := 1.0{USD/BTU};          nominal := 1.0{USD/BTU};
781  END cost_per_energy;      END cost_per_energy;
782    
783    
784  (*  S U R V E Y I N G   Q U A N T I T I E S  (*  S U R V E Y I N G   Q U A N T I T I E S
# Line 1085  END cost_per_energy; Line 1085  END cost_per_energy;
1085          upper_bound := 10000e6 {mm^4};          upper_bound := 10000e6 {mm^4};
1086          nominal := 1e6 {mm^4}; (* this may be too high still *)          nominal := 1e6 {mm^4}; (* this may be too high still *)
1087      END second_moment_of_area;      END second_moment_of_area;
1088    
1089        CONSTANT second_moment_of_area_constant
1090        REFINES real_constant DIMENSION L^4;
1091        
1092        CONSTANT length_constant
1093        REFINES real_constant DIMENSION L;
1094    
1095        CONSTANT area_constant
1096        REFINES real_constant DIMENSION L^2;
1097        
1098        ATOM moment REFINES solver_var
1099            DIMENSION M*L^2/T^2
1100            DEFAULT 1 {kN*m};
1101            lower_bound := -1e5 {kN*m};
1102            upper_bound := 1e5 {kN*m};
1103            nominal := 1 {kN*m};
1104        END moment;
1105        
1106        ATOM stress REFINES solver_var
1107            DIMENSION M/L/T^2
1108            DEFAULT 1.0 {MPa};
1109            lower_bound := -5000 {MPa};
1110            upper_bound := 5000 {MPa};
1111            nominal := 1.0 {MPa};
1112        END stress;
1113    
1114        

Legend:
Removed from v.843  
changed lines
  Added in v.844

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22