diff --git a/README.md b/README.md index e796de6..f816d11 100644 --- a/README.md +++ b/README.md @@ -95,3 +95,17 @@ Per Palmer Group guidelines, [always use named exports.](https://github.com/palm ## Publishing to NPM We recommend using [np](https://github.com/sindresorhus/np). + +### Branching Workflows + +#### Branch naming conventions + +1. Use the following structure for naming any **feature branch**: `${username}/#${issue-number}-${some-title}`. +2. You can read more about the reasoning [here](https://deepsource.io/blog/git-branch-naming-conventions/). +3. The first portion of the branch name `${username}/...` is a "grouping token". It helps in clubing all the branches owned by a particular user. + +#### Pushing a new feature + +We follow the [Git Feature Branch Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow) for pushing new features into the `master` branch. + +--- diff --git a/src/data/critical-constants-acentric-factor.ts b/src/data/critical-constants-acentric-factor.ts new file mode 100644 index 0000000..2bcd388 --- /dev/null +++ b/src/data/critical-constants-acentric-factor.ts @@ -0,0 +1,18 @@ +import { DIPPRCriticalConstantAndAcentricFactorProps } from '../interfaces/utils'; + +export const DIPPRCriticalConstantsAndAcentricFactorDictionary: Record< + string, + DIPPRCriticalConstantAndAcentricFactorProps +> = { + Acetaldehyde: { + name: 'Acetaldehyde', + formula: 'C2H4O', + CAS: '75-07-0', + molecularWeight: 44.05256, + criticalTemperature: 446, + criticalPressure: 5.57, + criticalVolume: 0.154, + criticalCompressibilityFactor: 0.221, + acentricFactor: 0.262493, + }, +}; diff --git a/src/index.ts b/src/index.ts index a217f89..c2db728 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,3 +4,4 @@ export * from './data/inchi-dictionary'; export * from './data/food-compounds'; export * from './data/density-constants'; export * from './data/thermal-conductivity-constants'; +export * from './data/critical-constants-acentric-factor'; diff --git a/src/interfaces/utils.ts b/src/interfaces/utils.ts index 70b4c61..9210977 100644 --- a/src/interfaces/utils.ts +++ b/src/interfaces/utils.ts @@ -149,3 +149,15 @@ export interface DIPPRThermalConductivityProps { thermalConductivityAtMinimumTemperature: number; thermalConductivityAtMaximumTemperature: number; } + +export interface DIPPRCriticalConstantAndAcentricFactorProps { + name: string; + formula: string; + CAS: string; + molecularWeight: number; + criticalTemperature: number; + criticalPressure: number; + criticalVolume: number; + criticalCompressibilityFactor: number; + acentricFactor: number; +}