// Prode  :  http://www.prode.com , all materials protected by copyright laws
// Parser for resorces file created by Roberto Paron
// Strings can include any chararacter with (decimal) value in range 32-255
// with exclusion of value 127 (delete)
 
// resources for (english) language 
// when translating to different languages 
// do not alter/modify string structures

// generic and specific errors
MEM_ALLOCA_ERR		= "Memory allocation error";
FILE_CORRUPTED_ERR	= "Error accessing/reading data file";
PPP_INT_ERROR		= "Internal error";
UNDEFINED_VALUE		= "Undefined input value";
TYPES_DO_NOT_MATCH	= "Expression where specified types don't match";
UNDEFINED_RESULT	= "Expression with undefined result";
MATH_ERROR		= "System or math (domain) error";
TYPE_REQUIRED		= "Undefined type / value";
UNDEF_STREAM		= "Calc. on undefined stream data";
NO_INIT_STREAM		= "Undefined stream's operating conditions";
ARRAY_SIZE_LIMIT	= "Array size exceeds max allowable";
THERMO_CALC_ERR		= "Error calling thermo calc. procedure";
CONVERGENCE_ERR		= "Cannot converge calc's loop";
TIME_CONV_ERR		= "Cannot complete the operation within the allowed time";
HS_CALC_OUTSIDE_RANGE   = "T, P values outside H, S range calc.s";
TP_OUTSIDE_RANGE        = "T, P outside allowed interval of values";
PF_OUTSIDE_RANGE        = "Phase fraction outside allowed interval of values";
PTNR_OUTSIDE_RANGE      = "Point number outside allowed interval of values";
MAX_COMP_NR		= "Too many comp's in a stream";
DBANK_ERROR		= "Error accessing component's data archive";
MSTEAM_MODEL_COMP_NR_EXC= "A stream with Steam Tables model must have only water as component";
PETR_FRACT_CHAR_ERR	= "Error characterizing a petroleum fraction";
HARDWARE_ACCESS		= "Error accessing hardware data, please contact Prode to obtain a different solution";
CFG_CORRUPTED_ERR	= "Error accessing configuration data, try to initialize...";
SOLVPROB		= "Cannot solve this problem, try to modify the specifications";
DCOLERR1		= "a value outside permitted range, check problem definition";
DCOLERR2		= "Settings error, this version supports VLE only";
DCOLERR3		= "nr. of variables/specifications exceeds limit";
DCOLERR4		= "double specification, check problem definition"; 
DCOLERR5		= "Specification required but not provided, check problem definition"; 
DCOLERR6		= "Wrong specification or unrecognized value, check problem definition"; 
DCOLERR7		= "Error in pressure profile, check problem definition";
DCOLERR8		= "total number of components exceeds maximum admitted";
DCOLERR9		= "A feed pressure is lower than minimum pressure in column";
DCOLERR10		= "Warning: discontinuity of model, values extrapolated";
DCOLERR11		= "Warning: unable to converge to the prescribed tolerance, please verify results";
DCOLERR12		= "Wrong specification, specified flows exceed the feeding flow"; 
DCOLERR13		= "Error in temperatures, flows initialization, check problem definition";
DATAREGR_ERR		= "Data Regression Error";
LICNOOPT_ERR		= "Your licence doesn't include the feature requested, please contact Prode";
OPUN_LIQERR		= "Liquid phase detected, select a different method to model a compressor/expander";
HYDRFWM_ERR		= "Must include water and at least one former with hydrate model";

STED_S1			= "Prode Properties Editor";
STED_S2			= "Stream::Operating";
STED_S3			= "Stream::Components";
STED_S4			= "Stream::Models";
STED_S5			= "Stream::BIPs";
STED_S6			= "Config::Units";
STED_S7			= "Config::Settings";
STED_S8			= "Chemicals::Settings";
STED_S9			= "Chemicals::Data";
STED_S10		= "Chemicals::Regress";
STED_S11		= "BIPs::Data";
STED_S12		= "BIPs::Regress";
STED_S13		= "Models::Data";
STED_S14		= "License::Data";

CFG_S1			= "Max number of streams";
CFG_S2			= "Max number of components per stream";
CFG_S3			= "Max number of interaction coefficents per stream";
CFG_S4			= "Reference temperature (for normal or standard conditions)";
CFG_S5			= "Reference pressure (for normal or standard conditions)";
CFG_S6			= "Base value for enthalpy calc.";
CFG_S7			= "Specified value and temperature";
CFG_S8			= "Enthalpy of formation in database";
CFG_S9			= "Base temperature for enthalpy";
CFG_S10			= "Base value for enthalpy";
CFG_S11			= "Base value for entropy calc.";
CFG_S12			= "Specified value and temperature";
CFG_S13			= "Entropy of formation (from Hf, Gf)";
CFG_S14			= "Base temperature for entropy";
CFG_S15			= "Base value for entropy";
CFG_S16			= "Convergence tolerance on specifications";
CFG_S17			= "Max allowed time for solving operations";
CFG_S18			= "Flow units";
CFG_S19			= "Mass flows";
CFG_S20			= "Molar flows";
CFG_S21			= "Minimum Liquid Density to validate liquid state";

FPG1_S1			= "Chemical";
FPG1_S2			= "Sort by first name";
FPG1_S3			= "Sort by second name";
FPG1_S4			= "Sort by third name";
FPG1_S5			= "Sort by formula";
FPG1_S6			= "Sorting criteria";
FPG1_S7			= "Warning, this command updates the chemical's file";
FPG1_S8			= "Error writing the file which\ncontains the chemical databank\nCheck the files in your sistem";
FPG1_S9			= "Error saving data";
FPG1_S10		= "Warning, this command removes the component !";
FPG1_S11		= "Error writing data";

FPG2_S1			= "CAS number";

FPG3_S1			= "Property";
FPG3_S2			= "Correlation";
FPG3_S3			= "value";
FPG3_S4			= "low limit";
FPG3_S5			= "high limit";
FPG3_S6			= "Point";
FPG3_S7			= "Temperature";
FPG3_S8			= "Value";
FPG3_S9			= "Calculated";
FPG3_S10		= "Error %";
FPG3_S11		= "Error regressing data";

FPG4_S1			= "Chemical";
FPG4_S2			= "Chemical";
FPG4_S3			= "Sort by first name";
FPG4_S4			= "Sort by second name";
FPG4_S5			= "Sort by third name";
FPG4_S6			= "Sort by formula";
FPG4_S7			= "Sorting criteria";
FPG4_S8			= "Models";	
FPG4_S9			= "VLE BIPs";
FPG4_S10		= "LLE BIPs";
FPG4_S11		= "SLE BIPs";
FPG4_S12		= "Hydrate BIPs";
FPG4_S13		= "Select BIPs Data Set";
FPG4_S14		= "Warning, this command updates the file";
FPG4_S15		= "Error writing the file which\ncontains the chemical databank\ncheck the files in your sistem";
FPG4_S16		= "warning, must select two different components !";

FPG5_S1			= "Model for vapor phase";
FPG5_S2			= "Model for liquid phase";
FPG5_S3			= "Model for solid phase";
FPG5_S4			= "Regress";
FPG5_S5			= "measured VLE-LLE-SLE data points";
FPG5_S6			= "VLE points calculated with UNIFAC";
FPG5_S7			= "Bips data set to solve";
FPG5_S8			= "Minimum set, quick but less accurate";
FPG5_S9			= "Standard set, more accurate but slow";
FPG5_S10		= "";
FPG5_S11		= "Minimization mode";
FPG5_S12		= "F = xerr * yerr";
FPG5_S13		= "F = xerr + yerr";
FPG5_S14		= "Validate solution";
FPG5_S15		= "Accept calc. X,Y outside 0-1 range";
FPG5_S16		= "Do not accept calc. X,Y outside 0-1 range";
FPG5_S17		= "value";
FPG5_S18		= "low limit";
FPG5_S19		= "high limit";
FPG5_S20		= "VLE";
FPG5_S21		= "LLE";
FPG5_S22		= "SLE";
FPG5_S23		= "Type";
FPG5_S24		= "X1";
FPG5_S25		= "Y1";
FPG5_S26		= "Temperature";
FPG5_S27		= "Pressure";
FPG5_S28		= "X calc.";
FPG5_S29		= "Error %";
FPG5_S30		= "Y calc.";
FPG5_S31		= "Error %";
FPG5_S32		= "Error regressing data";
FPG5_S33		= "In previous page must select two different components !";
FPG5_S34		= "At least nrpar VLE-LLE-SLE data points must be defined !";
FPG5_S35		= "The selected model doesn't appear to fit the data set (calculated X, Y out of range 0-1 or errors too high) !";
FPG5_S36		= "In previous page must select two different components !";

FPG6_S1        		= "Models";
FPG6_S2			= "Sort by first name";
FPG6_S3			= "Sort by second name";
FPG6_S4			= "Sort by third name";
FPG6_S5			= "Sort by formula";
FPG6_S6			= "Sorting criteria";
FPG6_S7			= "Warning, this command updates the file";
FPG6_S8			= "Error writing the file which\ncontains the chemical databank\ncheck the files in your sistem";

SPG1_S1			= "LF (0-1)";
SPG1_S2			= "Selected Stream";
SPG1_S3			= "Save";
SPG1_S4			= "Operation to solve";
SPG1_S5			= "Feed(s)";
SPG1_S6			= "T-P Flash";
SPG1_S7		= "PF-P Flash";
SPG1_S8		= "PF-T Flash";
SPG1_S9		= "H-P Flash";
SPG1_S10		= "H-T Flash";
SPG1_S11		= "S-P Flash";
SPG1_S12		= "S-T Flash";
SPG1_S13		= "V-P Flash";
SPG1_S14		= "V-T Flash";
SPG1_S15		= "Copy Stream";
SPG1_S16		= "Gas Separator";
SPG1_S17		= "Liquid Separator";
SPG1_S18		= "Mixer";
SPG1_S19		= "Compute";
SPG1_S20		= "Spec. (IN)";
SPG1_S21		= "Spec. (OUT)";
SPG1_S22		= "Stream Operating";
SPG1_S23		= "Flow units";
SPG1_S24		= "Flows (mass)";
SPG1_S25		= "Flows (mole)";
SPG1_S26		= "Flows (volume)";
SPG1_S27		= "Phase";
SPG1_S28		= "Feed";
SPG1_S29		= "Not present";
SPG1_S30		= "Flow";
SPG1_S31		= "Fraction (molar)";

SPG2_S1			= "Chemical";
SPG2_S2			= "Sort by first name";
SPG2_S3			= "Sort by second name";
SPG2_S4			= "Sort by third name";
SPG2_S5			= "Sort by formula";
SPG2_S6			= "Sorting criteria";
SPG2_S7			= "Molar flow";
SPG2_S8			= "Mass flow";
SPG2_S9			= "Units";
SPG2_S10		= "Flow (stream)";
SPG2_S11		= "Molar fraction";
SPG2_S12		= "Weight fraction";
SPG2_S13		= "Reaction set";
SPG2_S14		= "Chemical equations";
SPG2_S15		= "Balance";
SPG2_S16		= "Molar fraction";
SPG2_S17		= "Weight fraction";
SPG2_S18		= "Component";
SPG2_S19		= "";
SPG2_S20		= "No";
SPG2_S21		= "Reactant";
SPG2_S22		= "Product";
SPG2_S25		= "Error balacing reaction set";

SPG3_S1			= "Predefined packages";
SPG3_S2			= "Save";
SPG3_S3			= "Vapor";
SPG3_S4			= "Liquid";
SPG3_S5			= "Solid";
SPG3_S6			= "Hydrate";
SPG3_S7			= "Fugacity";
SPG3_S8			= "Not included";
SPG3_S9			= "Enthalpy";
SPG3_S10		= "Entropy";
SPG3_S11		= "Volume";
SPG3_S12		= "No multiphase, only two-phases";
SPG3_S13		= "Multiphase vapor-liquid";
SPG3_S14		= "Multiphase vapor-liquid-solid";
SPG3_S15		= "Multiphase vapor-liquid-solid-hydrate";
SPG3_S16		= "Multiphase equilibria";
SPG3_S17		= "Standard tests";
SPG3_S18		= "Reduced tests (quick)";
SPG3_S19		= "Multiphase initialization";
SPG3_S20		= "From Gibbs or Isothermal Compr. and Liq.Dens.";
SPG3_S21		= "From Isothermal Compressibility and Liq.Dens.";
SPG3_S22		= "Detect Phase State";
SPG3_S23		= "Discard unstable solutions";
SPG3_S24		= "Accept all solutions";
SPG3_S25		= "Phase diagram, check stability against feed"; 
SPG3_S26		= "End when crossing phase boundary lines";
SPG3_S27		= "Do not end when crossing phase boundary lines";
SPG3_S28		= "Phase diagram, specified phase fraction lines"; 
SPG3_S29		= "Include normal structures generated by formers";
SPG3_S30		= "Include all structures which may be generated by formers";
SPG3_S31		= "Hydrate structures inclusion"; 

SPG4_S1			= "Edit BIPs";
SPG4_S2			= "Do not edit, use BIPs in database";
SPG4_S3			=  "Use edited BIPS";
SPG4_S4			=  "VLE BIPs";
SPG4_S5			=  "LLE BIPs";
SPG4_S6			=  "SLE BIPs";
SPG4_S7			=  "Hydrate BIPs";
SPG4_S8			=  "Select BIPs Data Set";
SPG4_S9			=  "Get BIPs";
SPG4_S10		=  "Get BIPs from database";
SPG4_S11		=  "Select the model";

// Definitions for units of measurement
CONV_UMN_P		=  "Pressure";
CONV_UMN_T		=  "Temperature";
CONV_UMN_DT		=  "Temperature (dt)";
CONV_UMN_HM		=  "Calorific Value";
CONV_UMN_HMM		=  "Calorific Value (molar)";
CONV_UMN_HS  		=  "Enthalpy (Streams)";
CONV_UMN_SS  		=  "Entropy (Streams)";
CONV_UMN_CP  		=  "Heat Capacity";
CONV_UMN_CPM 		=  "Heat Capacity (molar)";
CONV_UMN_W   		=  "Flow (mass)";
CONV_UMN_WG  		=  "Flow (gas, mass)";
CONV_UMN_D   		=  "Density";
CONV_UMN_DM  		=  "Density (molar)";
CONV_UMN_SV  		=  "Specific Volume";
CONV_UMN_SVM 		=  "Specific Volume (molar)";
CONV_UMN_TC  		=  "Thermal Conductivity";
CONV_UMN_V   		=  "Viscosity (dynamic)";
CONV_UMN_ST  		=  "Surface Tension";
CONV_UMN_L   		=  "Lenght";
CONV_UMN_A   		=  "Area";
CONV_UMN_VOL 		=  "Volume";
CONV_UMN_M   		=  "Mass";
CONV_UMN_VL  		=  "Velocity";
CONV_UMN_ACC 		=  "Acceleration";
CONV_UMN_FOR 		=  "Force";
CONV_UMN_TM  		=  "Time";
CONV_UMN_DP  		=  "Pressure (dp)";
CONV_UMN_HF  		=  "Heat Flux";
CONV_UMN_TR  		=  "Thermal Resistance";
CONV_UMN_HTC 		=  "Heat Transfer Coefficent";
CONV_UMN_VW  		=  "Flow (volume basis)";
CONV_UMN_VK  		=  "Viscosity (kinematic)";
CONV_UMN_EN  		=  "Energy";
CONV_UMN_EDM 		=  "Electric dipole moment";
CONV_UMN_SP  		=  "Solubility parameter";
CONV_UMN_CV  		=  "Flow Coefficient";
CONV_UMN_CC  		=  "Compressibility Coefficient";
CONV_UMN_JTC 		=  "Joule Thomson Coefficient";
CONV_UMN_WM  		=  "Flow (molar)";
CONV_UMN_VE  		=  "Volumetric Expansivity Coefficient";	
CONV_UMN_AUX 		=  "Auxiliary";
CONV_UMN_AUX1 		=  "Auxiliary";
CONV_UMN_AUX2 		=  "Auxiliary";
CONV_UMN_INT1 		=  "Auxiliary";
CONV_UMN_NO   		=  "No units";

// definitions for chemical's file
CmpD_S1			=  "Code";
CmpD_S2			=  "Formula";
CmpD_S3			=  "Name (1)";
CmpD_S4			=  "Name (2)";
CmpD_S5			=  "Name (3)";
CmpD_S6			=  "CAS / Identification number";
CmpD_S7			=  "Molecular weight";
CmpD_S8			=  "Critical temperature";
CmpD_S9			=  "Critical pressure";
CmpD_S10		=  "Critical volume";
CmpD_S11		=  "Acentric factor";
CmpD_S12		=  "Electric dipole moment";
CmpD_S13		=  "Radius of gyration";
CmpD_S14		=  "Solubility parameter";
CmpD_S15		=  "Std.Enthalpy form.";
CmpD_S16		=  "Gibbs Energy of form.";
CmpD_S17		=  "Enthalpy fusion";
CmpD_S18		=  "Normal boiling point";
CmpD_S19		=  "Melting point";
CmpD_S20		=  "Flammability lean limit (vol % in air)";
CmpD_S21		=  "Flammability rich limit (vol % in air)";
CmpD_S22		=  "Autoignition temperature";
CmpD_S23		=  "Net heat of combustion";
CmpD_S231		=  "Flash point";
CmpD_S24		=  "Vapor Heat capacity equation";
CmpD_S25		=  "Unit (Property)";
CmpD_S26		=  "Unit (Temperature)";
CmpD_S27		=  "Low (temperature) limit";
CmpD_S28		=  "High (temperature) limit";
CmpD_S29		=  "Vapor viscosity equation";
CmpD_S30		=  "Vapor thermal conductivity equation";
CmpD_S31		=  "Liquid heat of vaporization equation";
CmpD_S32		=  "Vapor saturation pressure equation";
CmpD_S33		=  "Liquid surface tension equation";
CmpD_S34		=  "Liquid density equation";
CmpD_S35		=  "Liquid viscosity equation";
CmpD_S36		=  "Liquid thermal conductivity equation";
CmpD_S37		=  "Liquid heat capacity equation";
CmpD_S38		=  "Solid vapor pressure equation";
CmpD_S39		=  "Solid density equation";
CmpD_S40		=  "Solid thermal conductivity equation";
CmpD_S41		=  "Solid heat capacity equation";
CmpD_S42		=  "% weight";

// names in list of predefined components (adopted by standards)
N2_NAME			=  "Nitrogen";
CO2_NAME		=  "Carbon Dioxide";
CH4_NAME		=  "Methane";
C2H6_NAME		=  "Ethane";
C3H8_NAME		=  "Propane";
IC4H10_NAME		=  "isoButane";
NC4H10_NAME		=  "n-Butane";
IC5H12_NAME		=  "Isopentane";
NC5H12_NAME		=  "n-Pentane";
NC6H14_NAME		=  "n-Hexane";
NC7H16_NAME		=  "n-Heptane";
NC8H18_NAME		=  "n-Octane";
NC9H20_NAME		=  "n-Nonane";
NC10H22_NAME		=  "n-Decane";
HE_NAME			=  "Helium";
AR_NAME			=  "Argon";
H2_NAME			=  "Hydrogen";
O2_NAME			=  "Oxygen";
CO_NAME			=  "Carbon Monoxide";
H2S_NAME		=  "Hydrogen Sulfide";
H2O_NAME		=  "Water";
NEOC5_NAME		=  "neo-Pentane (Dimethyl propane)";

// strings for BIP identification

BIP_C1			=  "C1";
BIP_C2			=  "C2";
BIP_MODEL 		=  "Model";
BIP_K12			=  "K12";
BIP_K12T		=  "K12(T)";
BIP_K12T2		=  "K12(T2)";
BIP_L12			=  "L12";
BIP_U12 		=  "U12";
BIP_U21			=  "U21";
BIP_U12T 		=  "U12-T";
BIP_U21T		=  "U21-T";
BIP_A12			=  "A12";
BIP_SIA			=  "SI 1";
BIP_SIB			=  "SI 2";
BIP_SIC			=  "SI 3";
BIP_SID			=  "SI 4";
BIP_SIIA		=  "SII 1";
BIP_SIIB		=  "SII 2";
BIP_SIIC		=  "SII 3";
BIP_SIID		=  "SII 4";
BIP_SHA			=  "SH 1";
BIP_SHB			=  "SH 2";
BIP_SHC			=  "SH 3";
BIP_SHD			=  "SH 4";
BIP_TL			=  "Min temp.in data set";
BIP_TH			=  "Max temp.in data set";
BIP_PL			=  "Min press.in data set";
BIP_PH			=  "Max press.in data set";
BIP_ERR			=  "X-Y data fitting error %";
BIP_EDIT		=  "Edit data";


// strings for model indentification

MOD_tlb			= "Edit data";

// UNIQUAC
MOD_UNQ			=  "Q";
MOD_UNR			=  "R";

// UNIFAC
MOD_UFQ			=  "UNIFAC group qty";
MOD_UFG			=  "UNIFAC group code";

// CPA-SRK
MOD_CS_AC		= "Sites AC";
MOD_CS_DO		= "Sites DO";
MOD_CS_ACDO		= "Sites ACDO";
MOD_CSA			=  "A";
MOD_CSB			=  "B";
MOD_CSC			=  "C";
MOD_CSD			=  "D";
MOD_CSE			=  "E";
MOD_CSF			=  "F";
MOD_CSG		    	=  "G";
MOD_CSH		   	=  "H";
MOD_CSI		   	=  "I";
MOD_CSL		   	=  "L";
MOD_CSM		   	=  "M";

// CPA-PR
MOD_CP_AC		= "Sites AC";
MOD_CP_DO		= "Sites DO";
MOD_CP_ACDO		= "Sites ACDO";
MOD_CPA			=  "A";
MOD_CPB			=  "B";
MOD_CPC			=  "C";
MOD_CPD			=  "D";
MOD_CPE			=  "E";
MOD_CPF			=  "F";
MOD_CPG		    	=  "G";
MOD_CPH		   	=  "H";
MOD_CPI		   	=  "I";
MOD_CPL		   	=  "L";
MOD_CPM		   	=  "M";

// PC SAFT
MOD_PCS_AC		= "Sites AC";
MOD_PCS_DO		= "Sites DO";
MOD_PCS_ACDO		= "Sites ACDO";
MOD_PCSA		=  "A";
MOD_PCSB		=  "B";
MOD_PCSC		=  "C";
MOD_PCSD		=  "D";
MOD_PCSE		=  "E";
MOD_PCSF		=  "F";

// PR-EXT
MOD_PREA		=  "A";
MOD_PREB		=  "B";
MOD_PREC		=  "C";
MOD_PRED		=  "D";
MOD_PREE		=  "E";
MOD_PREF		=  "F";
MOD_PREG		=  "G";
MOD_PREH		=  "H";
MOD_PREI		=  "I";

// SRK-EXT
MOD_SREA		=  "A";
MOD_SREB		=  "B";
MOD_SREC		=  "C";
MOD_SRED		=  "D";
MOD_SREE		=  "E";
MOD_SREF		=  "F";
MOD_SREG		=  "G";
MOD_SREH		=  "H";
MOD_SREI		=  "I";