My Apps.

PetroFrac (iPhone).

etroFrac calculates properties of refinery petroleum fractions based on the D86 distillation and API gravity. You enter the 10%, 50% and 90% D86 distillation temperatures along with the API gravity.

The program calculates:
SG, Specific gravity
Watson K
MW, molecular weight

Once you enter the flow temperature the program calculates:
Density at flow temperature, g/cm3
Viscosity at flow temperature, cSt
Cp, Heat capacity at flow temperature, BTU/(lb Deg F)
H Liquid, Enthalpy of liquid at flow temperature, BTU/Deg F
H Vapor, Enthalpy of vapor at flow temperature, BTU/Deg F
Heat Vap, Heat of vaporization at flow temperature, BTU/Deg F

PIDTune (iPhone/iPad).

PID Tuner uses the IMC (Internal Model Control) method to calculate PID tuning parameters.  I’ve tried a lot of tuning methods over the years and have found this one to be the best.   The app includes a process and PID simulator to check the performance of the tuning parameters

PIDLab (Mac).​

PTuneSimulation allows you to test and simulate tuning for various types of loops. It uses the IMC (Internal Model Control) method to calculate PID tuning parameters. I’ve tried a lot of tuning methods over the years and have found this one to be the best.

The program calculates:

PID Parameters:
Controller Gain (Kc)
Integral Time (Ti)
Derivative Time (Td)

For process types
First Order with Dead Time (FO)
Second Order with Dead Time (SO)
Integrating or Long Time Constant with Dead Time (I)

For controller types
Parallel (non-interacting)
c(s) = Kc (1 + 1/(Ti s) + Td s)

Series (interacting)
c(s) = Kc (Ti s + 1)/(Ti s)(Td s + 1)

For controller modes
PID
PI

Tuning aggression is adjusted using the slider to set the closed loop time constant to the process time constant ratio (λ/Ƭ).

The closed loop time constant (λ) is the time the controller is expected to reach set point (plus the dead time (ϴ)). Setting the closed loop time constant to process time constant ratio (λ/Ƭ) to 1.0 will make the MV change to its final value and allow the process to settle out to the setpoint. Setting (λ/Ƭ) greater than 1.0 will give a slower responce. Setting (λ/Ƭ) less than 1.0 will cause the MV to make a larger change and then reduce to its final value. Tight tuning would be to set the close loop time constant to the dead time.

Use the Integrating Process type (Ƭ = ∞) for both integrating processes or processes with long time constants. These processes use the maximum slope as the process gain. Tuning aggression for these processes is determined by setting the closed loop time constant to the dead time ratio (λ/ϴ). Once again, setting the closed loop time constant to the dead time gives tight control.

curFit

The App does data fitting for both linear and non-linear data relationships. For non-linear regression to app uses the Levenberg-Marquardt regression method. Data input is made using csv (comma separated value) files.

Data slicing is easy, just drag a rectangle across the points you would like to slice (remove)

The following fitting correlations are available:
• Antoine
• Exponential
• Exponential to Limit
• Ln
• Ln Modified
• log
• Log Modified
• Plateau
• Polynomial
• Power
• Reciprocal Double
• Reciprocal X
• Reciprocal Y
• Shift Rate Power
• Sigmoidal
• Square Root Y
• Linear Valve (installed)
• Parabolic Valve (installed)
• Viscosity

MultiRegression

The MultipleRegression App does multiple linear regressions (allows more than one independent variable). This can be a tedious task using Excel or even statistical tools. Outliers data slicing is done by dragging mouse over plot, making it very easy to remove outliers.  Data points outside the 95% confidence limit are marked red. The App also gives residuals for each independent as well as the independent’s contribution to the fit.

Info Box

An easy to use histogram and statistics generator. Allows the user to copy the graph and statistics to the clipboard to easily add to documents.

The app uses csv (comma separated values) file for import. The file can be edited with Numbers or Excel. Outliers can be removed by mouse dragging.

Plantings

A place to store information about all your plants. I was sorry to see Bento go, so I built a stand-alone app to store all my planting information

Plantings is a database to store all you plant information. Use drag and drop to add a picture to your plant record. Type in the search field. If the plant is not found, the “+” button will enable allowing you to add the new plant.  

Plantings also syncs with with the cloud so you can access your plants on all your Macs. You plant database is backed up to the cloud.

SourDoughWaterTemperature

Calculate water temperature to obtain desired final dough temperature for bulk fermentation.

Enter the weight and temperature for the sour dough ingredients and the calculator will calculate the water temperature required to achieve the desired final dough temperature.