Specifications

3-64 Extension Unit Operations
3-64
If hyWatStrm Is Nothing Then
Call
hyStatus.AddStatusCondition(slMissingRequire
dInformation, 4, "Water Stream Required")
OK = False
End If
If there is no water stream attached to
the unit op, an error message appears
telling you that a water stream is
required.
If hyProdStrm Is Nothing Then
Call
hyStatus.AddStatusCondition(slMissingRequire
dInformation, 3, "Product Stream Required")
OK = False
End If
If there is no product stream attached to
the unit op, an error message appears
telling you that a product stream is
required.
If myOp.IsIgnored = True Then
Call
hyStatus.AddStatusCondition(slWarning, 11,
"Ignored")
OK = False
End If
If the Ignored checkbox is selected then
send an Ignored message to the status
bar.
If OK = False Then Exit Sub
These next message can wait until the
connections are made so skip them.
If Not hyFeedStrm.Temperature.IsKnown Then
Call
hyStatus.AddStatusCondition(slMissingOptiona
lInformation, 5, "Unknown Feed Temperature")
OK = False
End If
If the feed stream temperature is not
known, then send an Unknown Feed
Temperature message to the status bar.
If Not hyFeedStrm.Pressure.IsKnown Then
Call
hyStatus.AddStatusCondition(slMissingOptiona
lInformation, 6, "Unknown Feed Pressure")
OK = False
End If
If the feed stream pressure is not known,
then send an Unknown Feed Pressure
message to the status bar.
If Not hyFeedStrm.MolarFlow.IsKnown Then
Call
hyStatus.AddStatusCondition(slMissingOptiona
lInformation, 7, "Unknown Feed Flow")
OK = False
End If
If the feed stream molar flow rate is not
known, then send an Unknown Feed Flow
message to the status bar.
Code Explanation