FormFlowsheet Class

The main MDI child window for a DWSIM simulation. Acts as the WinForms UI host for a complete flowsheet: it owns the drawing surface, log panel, spreadsheet, dynamics manager, scripts, charts, and all docked tool windows. It also implements the CAPE-OPEN PME/COSE interfaces so that external CAPE-OPEN unit operations can interact with the running simulation.

Definition

Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDual)]
[GuidAttribute("0294AA84-9269-46CE-A854-BEF64539287B")]
public class FormFlowsheet : Form, 
	ICapeCOSEUtilities, ICapeMaterialTemplateSystem, ICapeDiagnostic, ICapeFlowsheetMonitoring, ICapeSimulationContext, 
	ICapeIdentification, IFlowsheet, IFlowsheetBag, IFlowsheetGUI, IFlowsheetCalculationQueue
Inheritance
Object    MarshalByRefObject    Component    Control    ScrollableControl    ContainerControl    Form    FormFlowsheet
Implements
ICapeCOSEUtilities, ICapeDiagnostic, ICapeFlowsheetMonitoring, ICapeIdentification, ICapeMaterialTemplateSystem, ICapeSimulationContext, IFlowsheet, IFlowsheetBag, IFlowsheetCalculationQueue, IFlowsheetGUI

Constructors

Properties

AiLabel1 
AnaliseDeSensibilidadeToolStripMenuItem 
AvailableCompoundsGets or sets the master dictionary of all compounds registered in the host application, keyed by name.
AvailableExternalUnitOperationsGets or sets the dictionary of external (plug-in) unit operation types available in the host application.
AvailablePropertyPackagesGets or sets the dictionary of property packages registered in the host application, keyed by display name.
AvailableSimulationObjectsGets or sets the dictionary of all built-in simulation object prototypes available in the host application.
AvailableSystemsOfUnitsGets or sets the list of unit systems available to the host application.
bgCalc 
BGLoadComp 
BidirectionalSolverGets or sets an optional bidirectional (simultaneous forward/backward) flowsheet solver.
CalculationQueueGets or sets the FIFO queue of pending calculation requests consumed by the flowsheet solver.
CAPEOPENWarningTimer 
CaracterizacaoDePetroleosCurvasDeDestilacaoToolStripMenuItem 
CaracterizacaoDePetroleosFracoesC7ToolStripMenuItem 
ChartsGets or sets the dictionary of chart definitions embedded in this flowsheet, backed by ChartCollection.
CloseToolStripMenuItem 
ComponentDescription 
ComponentName 
CompoundCreatorWizardTSMI 
CompoundsArrayGets or sets a snapshot array of the selected compounds in the flowsheet bag.
DataGridView1 
dckPanel 
DoNotOpenSimulationWizardGets or sets a value indicating whether the new-simulation wizard should be suppressed on first show.
DynamicModeGets or sets a value indicating whether the flowsheet is operating in dynamic simulation mode.
DynamicsManagerGets or sets the dynamics manager responsible for dynamic simulation scheduling and scenario management.
ErrorMessageGets or sets the error message from the last failed solve pass.
ErrorMessagesGets or sets the list of exceptions raised during the last calculation pass.
ExternalFlowsheetSolverGets or sets an optional external flowsheet solver that overrides the default DWSIM solver.
ExternalSolversGets or sets the collection of external solver plug-ins registered with this flowsheet, keyed by unique ID.
ExtraPropertiesGets or sets a dynamic property bag for attaching arbitrary extra data to the flowsheet at runtime.
FileDatabaseProviderGets or sets the file-based database provider for binary asset storage (e.g. embedded images).
FilePathGets or sets the full file path of the simulation file saved to or loaded from disk.
FileTSMI 
FileVersionGets or sets the file format version number read from or written to the simulation file.
FlowsheetOptionsReturns the flowsheet configuration options (compounds, property packages, units, solver settings, etc.).
GerarRelatorioToolStripMenuItem 
GHGEmissionCompositionsGets or sets the dictionary of GHG emission composition profiles used for flowsheet-level emissions accounting.
GraphicObjectsGets the dictionary of all graphic objects on the flowsheet drawing surface, keyed by unique name.
GraphicObjectsArrayGets or sets a snapshot array of all graphic objects in the flowsheet bag.
LastSuccessfulSolutionStateGets or sets a serialised string representing the last successfully converged solution state, used for warm-starting.
LoaderExceptionsAccumulates exceptions raised while loading a simulation file, for display after load completes.
MasterFlowsheetGets or sets the parent flowsheet when this simulation is embedded as a sub-flowsheet unit operation.
MasterUnitOpGets or sets the unit operation object in the parent flowsheet that owns this sub-flowsheet.
MaterialTemplates 
MenuStrip1 
MessageGets or sets the most recent message text written to the log panel.
MessagePumpTimer 
MessagesLogGets or sets the list of informational and diagnostic messages generated during simulation.
MobileCompatibilityModeGets or sets a value indicating whether the flowsheet operates in mobile compatibility mode (simplified rendering).
MultivariateOptimizerToolStripMenuItem 
NamedValueList 
OptimizationTSMI 
Options 
ParticleSizeDistributionsGets or sets the list of solid particle-size distribution profiles defined for this flowsheet.
PluginsTSMI 
PropertyPackagesGets or sets the dictionary of property packages assigned to this flowsheet, keyed by unique ID.
PropertyPackagesArrayGets or sets a snapshot array of the property packages in the flowsheet bag.
PythonPreprocessorGets or sets an optional action invoked to pre-process Python script text before execution.
ReactionsGets the dictionary of chemical reactions defined for this flowsheet, keyed by unique ID.
ReactionsArrayGets or sets a snapshot array of the reactions in the flowsheet bag.
ReactionSetsGets the dictionary of reaction sets grouping individual reactions for use in reactor unit operations, keyed by unique ID.
ReactionSetsArrayGets or sets a snapshot array of the reaction sets in the flowsheet bag.
RedirectMessagesGets or sets a value indicating whether outgoing log messages are redirected to an external listener.
ResultsGets or sets the aggregate results (mass/energy balance, GHG emissions, CAPEX/OPEX) for the last solved flowsheet.
ResultsTSMI 
S365FileIdGets or sets the Simulate 365 cloud file identifier for this simulation.
ScriptsGets or sets the collection of scripts attached to this flowsheet, backed by ScriptCollection.
SelectedCompoundsGets or sets the dictionary of compounds selected for this simulation, ordered according to CompoundOrderingMode.
ShowTSMI 
SimulationObjectsGets the dictionary of all simulation objects (unit operations, streams, etc.) in the flowsheet, keyed by unique name.
SimulationObjectsArrayGets or sets a snapshot array of all simulation objects in the flowsheet bag.
SolutionStatus 
SolvedGets or sets a value indicating whether the last solve pass completed without errors.
StoredSolutionsGets or sets stored solution snapshots keyed by user-defined name, used for solution restore/compare.
SupressMessagesGets or sets a value indicating whether new log messages should be silently discarded.
ToolStrip1 
ToolStripMenuItem1 
ToolStripMenuItem2 
ToolStripMenuItem3 
ToolsTSMI 
tsbAtivar 
tsmiConfigSimulation 
TSTable 
UtilityPluginsGets the dictionary of utility plug-ins registered with the host application, keyed by unique ID.
ValStatus 
WatchItemsGets or sets the collection of watch items monitored in the Watch Panel.
WeatherProviderGets or sets the weather data provider used for ambient condition lookups.

Methods

AddComponentsRows Populates all phases of the given material stream with the compounds currently selected in the flowsheet, then equalises the overall composition and recalculates mass fractions.
AddCompoundAdds the named compound to the flowsheet's selected-compound list and returns it; returns the existing entry if already present.
AddFlowsheetObjectAdds a simulation object of the named type to the flowsheet at the default position (50, 50) and returns it.
AddGraphicObjectAdds a graphic object to both the drawing surface and the graphic object collection.
AddObject(ObjectType, Int32, Int32, String)Adds a new simulation object of the specified type at the given surface coordinates and returns the created object.
AddObject(ObjectType, Int32, Int32, String, String)Adds a new simulation object with an explicit unique ID at the given surface coordinates and returns the created object.
AddPropertyPackageRegisters a property package with this flowsheet.
AddReactionRegisters an existing reaction with this flowsheet's reaction dictionary.
AddReactionSetRegisters an existing reaction set with this flowsheet's reaction-set dictionary.
AddReactionToSetAdds a reaction reference to an existing reaction set.
AddSimulationObjectAdds a simulation object to the flowsheet object collection.
AddUndoRedoActionCaptures a full snapshot of the current flowsheet state and pushes it onto the undo stack; clears the redo stack.
AddUnitSystem Registers a custom unit system with the application and adds it to the units selection list. Shows an error if a system with the same name already exists.
AdicionarUtilitárioToolStripMenuItem_Click 
AnaliseDeSensibilidadeToolStripMenuItem_Click 
AssistenteDeCriacaoDeSubstanciasToolStripMenuItem_Click 
AutoLayoutApplies the default automatic layout algorithm to all graphic objects on the flowsheet surface.
BlocoDeSimulacaoToolStripMenuItem_Click 
BotaoToolStripMenuItem_Click 
btnAIInsightsShowDetails_Click 
btnDismissPanelCOWarning_Click 
btnRestoreLastSolution_Click 
btnTroubleshoot_Click 
Button1_Click 
Button1_Click_1 
Button2_Click 
Button2_Click_1 
CalcReactionStoichiometry 
CAPEOPENFlowsheetMonitoringObjectsMOsToolStripMenuItem_MouseHover 
CAPEOPENWarningTimer_Tick 
CaracterizacaoDePetroleosCurvasDeDestilacaoToolStripMenuItem_Click 
CaracterizacaoDePetroleosFracoesC7ToolStripMenuItem_Click 
ChangeCalculationOrderOpens the custom calculation order editor and returns the user-defined object sequence.
ChangeEditMenuStatusEnables or disables all cut, copy, paste, clone, remove, recalculate, and export edit actions simultaneously.
CheckCollectionsEnsures that all collections in Collections are initialised, creating empty instances for any that are Nothing.
CheckStatusRefreshes the flowsheet UI and requests a solver status check from FlowsheetSolver.
ClearLogClears the message pump queue, all log grid rows, and the last-message label.
ClearVariables 
CloneCreates a deep copy of this flowsheet by serialising it to a temporary file and reloading it as a new FormFlowsheet instance.
CloseOpenEditFormsCloses all open object editor and dynamics editor forms for every simulation object in the flowsheet.
COMOClick 
Connect Connects two simulation objects. If both are unit operations (or recycle blocks) a new material stream is automatically inserted between them; otherwise the objects are connected directly.
ConnectObjectDraws a connector line between two graphic objects on the flowsheet surface, optionally specifying the connector slot indices.
ConnectObjectsConnects two graphic objects and refreshes all open editor forms.
ConsoleOutputTSMI_Click 
ControlesDoIntegradorToolStripMenuItem_Click 
ConvergenceHelperSettingsToolStripMenuItem_Click 
CopyObjects 
CreateAndAddPropertyPackageCreates a clone of the named property package prototype, registers it with the flowsheet, and returns it.
CreateCOMOList 
CreateConversionReactionCreates and returns a new conversion reaction with the specified parameters but does not add it to the flowsheet.
CreateEquilibriumReactionCreates and returns a new equilibrium reaction with the specified thermodynamic parameters but does not add it to the flowsheet.
CreateHetCatReactionCreates and returns a new heterogeneous-catalytic (Langmuir-Hinshelwood type) reaction but does not add it to the flowsheet.
CreateKineticReactionCreates and returns a new kinetic (rate-based) reaction with Arrhenius or user-defined rate expressions but does not add it to the flowsheet.
CreateMaterialTemplate 
CreatePluginsList 
CreatePropertyPackageCreates a clone of the named property package prototype and sets its tag; does not register it with the flowsheet.
CreateReactionSetCreates and returns a new reaction set with the specified name and description but does not add it to the flowsheet.
CriadorDeComponentesSolidosToolStripMenuItem_Click 
CriarPseudocomponentesEmBateladaToolStripMenuItem_Click 
CutObjects 
DeleteObjectFinds the flowsheet graphic object with the given tag and delegates to DeleteSelectedObject(Object, EventArgs, GraphicObject, Boolean, Boolean).
DeleteSelectedObject Removes the specified graphic object and its corresponding simulation object from the flowsheet. Disconnects all attached connectors, updates Adjust/Spec/PID cross-references, and optionally prompts the user for confirmation.
DeleteSelectedObject1Interface adapter that delegates to DeleteSelectedObject(Object, EventArgs, GraphicObject, Boolean, Boolean) for DeleteSelectedObject(Object, EventArgs, IGraphicObject, Boolean, Boolean).
DisableUndoRedo 
DisconnectDisconnects two simulation objects by removing the connector between their graphic representations.
DisconnectObjectRemoves the connector line that links gObjFrom to gObjTo (including the energy connector) and updates the associated connection points.
DisconnectObjectsDisconnects the connection between two graphic objects and refreshes all open editor forms.
DisplayBrowserWindowOpens a floating browser window and navigates it to the specified URL.
DisplayDockableBrowserWindowOpens a dockable browser panel and navigates it to the specified URL.
DisplayFormShows a form as a dock panel content or a regular child window, adjusting panel dimensions based on the requested dock state.
DisplayHTMLDisplays an HTML content panel inside the flowsheet dock area.
Dispose
(Overrides FormDispose(Boolean))
EnableUndoRedo 
ExcelReportsToolStripMenuItem_Click 
ExibirRelatoriosDosObjetosCAPEOPENToolStripMenuItem_Click 
FecharSimulacaoAtualToolStripMenuItem_Click 
FerramentaParaSintoniaDeControladoresPIDToolStripMenuItem_Click 
FiguraToolStripMenuItem_ClickHandles the Insert → Image menu click by opening a file picker and embedding the selected bitmap on the flowsheet surface.
FixOpenEditFormsReferencesResets simulation-object references in all open ObjectEditorForm dock panels, e.g. after a snapshot restore.
FormChild_Activated 
FormChild_Load 
FormChild_Shown 
FormChild2_FormClosed 
FormChild2_FormClosing 
FormFlowsheet_HelpRequested 
FTFormats a property display string as "prop (unit)".
GerarRelatorioToolStripMenuItem_Click 
GerenciadorDeAmostrasDePetroleoToolStripMenuItem_Click 
GerenciadorDoModoDinâmicoToolStripMenuItem_Click 
GetApplicationObjectReturns the host application object (the VB My.Application instance).
GetAvailableFlowsheetObjectTypeNamesReturns a sorted array of all built-in simulation object type display names that can be added to a flowsheet.
GetAvailablePropertyPackagesReturns a list of display names for all property packages registered in the host application.
GetCompoundReturns the compound constant-properties record with the specified name from the global compound database.
GetDockPanelReturns the DockPanel that manages all docked child panels within this flowsheet window.
GetFlowsheetBagReturns a lightweight IFlowsheetBag snapshot of the current simulation object and compound collections.
GetFlowsheetGraphicObjectReturns the graphic object on the flowsheet surface whose tag matches the specified value (case-insensitive), excluding connector lines.
GetFlowsheetSimulationObjectReturns the simulation object whose graphic tag matches the specified value.
GetFlowsheetSimulationObject1Interface adapter that delegates to GetFlowsheetSimulationObject(String) for GetFlowsheetSimulationObject(String).
GetFlowsheetSurfaceHeightReturns the pixel height of the drawing surface panel.
GetFlowsheetSurfaceWidthReturns the pixel width of the drawing surface panel.
GetNewInstanceCreates a blank FormFlowsheet instance sharing the same visible-properties map, ready to host a new simulation.
GetObjectReturns the simulation object with the specified tag, or Nothing if not found.
GetProcessDataReturns a list of XElement objects, one per simulation object, containing that object's serialised data.
GetPropertyPackageReturns the property package whose tag matches the specified name, or Nothing.
GetReactionReturns the reaction whose name matches the specified value, or Nothing.
GetReactionSetReturns the reaction set whose name matches the specified value, or Nothing.
GetResultIDsReturns the list of result property identifiers available on this flowsheet (mass/energy balance, GHG totals, CAPEX/OPEX, and any custom extras).
GetResultUnitsReturns the unit string for the specified result property ID in the current unit system.
GetResultValueReturns the numeric value (converted to the current unit system) for the specified result property ID.
GetScriptTextReturns the script text of the script whose title matches the specified name.
GetSelectedFlowsheetSimulationObjectReturns the simulation object that is currently selected on the surface, optionally filtered by tag.
GetSimulationFileDirectoryReturns the directory portion of the simulation file path.
GetSimulationFilePathReturns the full file path of the simulation file.
GetSnapshotSerialises the requested portion of the flowsheet state to an XDocument suitable for undo/redo or cloning.
GetSnapshotObjectID 
GetSpreadsheetDataReturns the raw cell values from the specified spreadsheet range (e.g. "A1:C10") as a row-major list of string arrays.
GetSpreadsheetFormatReturns the format codes (e.g. "N2", "P3") of cells in the specified spreadsheet range.
GetSpreadsheetObjectReturns the underlying ReoGrid spreadsheet control object for direct programmatic access.
GetStreamCollection 
GetSurfaceReturns the GraphicsSurface that hosts all flowsheet graphic objects.
GetSurfaceControlReturns the FlowsheetSurface_SkiaSharp WinForms control that hosts the drawing surface.
GetTranslatedStringReturns the translation of text for the specified locale, falling back to the original string if no translation is found.
GetTranslatedString1Looks up text sequentially in the localised strings, property names, and tip strings tables, returning the first match or the original text.
GetTranslatedString2Looks up text in the localised strings and property names tables for the specified locale, returning the first match or the original text.
GetUnitOperationCollection 
GetUtilityReturns a new IAttachedUtility wrapper for the specified built-in flowsheet utility type.
GraficoToolStripMenuItem_Click 
InitializeInitialisation entry point; currently a no-op placeholder for interface compliance.
InitializeComponent 
InspetorDeSolucoesToolStripMenuItem_Click 
InvertSelectionToolStripMenuItem_Click 
lblTotalMessages_LinkClicked 
LinkLabel1_LinkClicked 
LoadExtenders Iterates over all registered extender collections and adds their menu items, toolbar buttons, or runs their initialisation scripts within this flowsheet window.
LoadFromXMLNot supported; use LoadXML(IVirtualFile, ActionInt32, String, Boolean) instead.
LoadProcessDataRestores simulation object data from a list of XElements previously produced by GetProcessData.
LogMessage 
MessagePumpTimer_Tick 
ModoDinamicoAtivoToolStripMenuItem_CheckedChanged 
ModoDinamicoAtivoToolStripMenuItem_Click 
MultivariateOptimizerToolStripMenuItem_Click 
NamedValue 
NaturalLayoutApplies the solver-order-based natural layout algorithm, spacing objects according to the calculation sequence.
PainelDeVariaveisToolStripMenuItem_CheckedChanged 
PasteObjects 
PluginClick 
PopUpMessage 
ProcessFlowsheetDiagramToolStripMenuItem_Click 
ProcessRedoPops the most recent entry from the redo stack, applies it, and pushes the current state onto the undo stack.
ProcessScripts Runs all scripts in ScriptCollection whose event type, object type, and object name match the specified parameters.
ProcessTransition 
ProcessUndoPops the most recent entry from the undo stack, applies it, and pushes the current state onto the redo stack.
PropriedadesDasSubstanciasToolStripMenuItem_Click 
RectangleToolStripMenuItem_ClickHandles the Insert → Rectangle menu click by adding a new rectangle graphic object to the flowsheet surface.
RefreshInterfaceForces a full refresh of the flowsheet surface control on the UI thread and pumps pending Windows messages.
RegisterSnapshotCaptures the current flowsheet state as a snapshot of the given scope and pushes it onto the undo stack, then clears the redo stack.
ReleaseResources Disposes all docked child forms, clears simulation object collections, removes event handlers, and releases COM references. Called automatically when the form closes.
RequestCalculationRequests an asynchronous full flowsheet calculation, optionally scoped to a single object, and waits for it to complete.
RequestCalculation2Requests a full flowsheet calculation, optionally blocking until it completes.
RequestCalculation3Requests a calculation scoped to a specific simulation object, optionally blocking until it completes.
RequestCalculationAndWaitSynchronously solves the flowsheet and returns any exceptions encountered during calculation.
RequestFlowsheetCalculation 
RequestSaveRequests a save of the current simulation file via the main window's save routine.
RequestSaveWithDirectorySets the file path to a new location inside the specified directory and saves the simulation.
RequestSaveWithPathSets the file path to the specified full path and saves the simulation.
ResetClears all graphic objects, simulation objects, and compound selections, then re-initialises the visible-properties map.
ResetCalculationStatusMarks every simulation object as dirty and not yet calculated, forcing a full recalculation on the next solve pass.
RestoreLastSuccessfulSolutionState 
Restorelayout 
RestoreSnapshot Restores the flowsheet state from a previously captured snapshot document. Depending on stype the restore may cover object data only, graphic layout only, or the full simulation state.
ReturnForm Returns the dockable panel instance that corresponds to the given type name string. Used as the DeserializeDockContent callback when restoring layout from XML.
RunCodeOnUIThreadExecutes an action synchronously on the UI thread, using Invoke(Delegate) when called from a background thread.
RunCodeOnUIThread2Schedules an action to run on the UI thread and returns a Task that completes when the action finishes.
SaveCurrentStateAsLastSuccessfulSolution 
SavePFDScreenshotToPNGRenders the current flowsheet surface to a PNG image file at the given path.
SaveToXMLSerialises the flowsheet to the specified file path using the main window's XML writer.
SaveToXML1Serialises the entire flowsheet to an XDocument using the main window's XML writer.
SearchSurfaceObjectsByNameSearches the specified drawing surface for a graphic object whose internal name matches exactly.
SearchSurfaceObjectsByTagSearches the specified drawing surface for a graphic object whose user-visible tag matches exactly.
SetActive Marks this flowsheet as the currently active simulation and raises the ActiveSimulationChanged event on the main window.
SetDirtyStatusMarks every simulation object in the flowsheet as needing recalculation.
SetDynamicMode 
SetMessageListenerRegisters an external action that will be invoked for every message written to the log panel.
SetTranslateTextExternalFunctionRegisters an external text-translation function; currently a no-op placeholder.
ShowDebugInfoWrites debug text at the specified verbosity level to the application console output.
ShowMarkdownViewer 
ShowMessageEnqueues a message for display in the log panel and raises the NewMessageSent event.
ShowMessageInternal 
SimulationConfig_Click 
SolveRequests a full flowsheet solve using SolveFlowsheet2. Honours the dynamic mode guard.
SolveFlowsheet2 Forces a full flowsheet calculation, bypassing the busy guard by resetting state. Delegates to ExternalFlowsheetSolver when one is configured, otherwise uses the built-in solver. Has no effect while the flowsheet is in dynamic mode.
SumarioToolStripMenuItem_Click 
TimerScripts1_Tick 
TimerScripts15_Tick 
TimerScripts30_Tick 
TimerScripts5_Tick 
TimerScripts60_Tick 
ToggleFlowsheetAnimationToggles the flowsheet surface animation timer on or off.
ToggleWeatherPanelVisibilityToolStripMenuItem_Click 
ToolStripButton1_Click 
ToolStripButton19_ClickHandles the Insert → Master Property Table menu click by adding a new master property table graphic to the flowsheet surface.
ToolStripButton2_CheckedChanged 
ToolStripButton2_Click 
ToolStripButton2_Click_1 
ToolStripButton3_Click 
ToolStripButton4_ClickHandles the Insert → Spreadsheet Table menu click by adding a new spreadsheet-linked property table graphic to the flowsheet surface.
ToolStripButton6_ClickHandles the Insert → Property Table menu click by adding a new property table graphic to the flowsheet surface.
ToolStripMenuItem4_Click 
TriggerNewDataLoadedEvent Raises the NewDataLoaded event on the UI thread and refreshes all dependent panels (editors, information bar, object list, mass/energy balance, form title, and interface).
tsbAbortCalc_ClickSignals the solver to stop after its current step by setting CalculatorStopRequested and cancelling the active task token.
tsbAISettings_Click 
tsbAtivar_CheckedChangedHandles the Enable/Disable Solver toolbar button checked-state change, toggling CalculatorActivated and updating dependent button states.
tsbCalcF_Click 
tsbDeleteSolution_Click 
tsbDynIntegrator_Click 
tsbDynManager_Click 
tsbLoadSolution_Click 
tsbRedo_Click_1 
tsbSimultAdjustSolver_CheckedChangedHandles the Simultaneous Adjust Solver toolbar button checked-state change, propagating the setting to FlowsheetOptions.
tsbStoreSolution_Click 
TSBTexto_ClickHandles the Insert → Text Box menu click by adding a new text graphic object to the flowsheet surface.
tsbUndo_Click_1 
tsmiCloneSelected_ClickHandles the Edit → Clone Selected menu click by duplicating every selected simulation object on the surface.
tsmiCloseOpenedEditors_Click 
tsmiCopy_ClickHandles the Edit → Copy menu click by serialising the selected objects to the clipboard.
tsmiCut_ClickHandles the Edit → Cut menu click by copying and then deleting the selected objects.
tsmiDetailedReport_Click 
tsmiExportData_ClickHandles the Edit → Export Data menu click by copying the selected object's simulation properties to the clipboard as tab-delimited text.
tsmiPaste_ClickHandles the Edit → Paste menu click by deserialising clipboard objects onto the flowsheet surface.
tsmiRecalc_ClickHandles the Edit → Recalculate Selected menu click by requesting a calculation scoped to the currently selected simulation object.
tsmiRedo_ClickHandles the Edit → Redo menu click by delegating to ProcessRedo.
tsmiRemoveSelected_ClickHandles the Edit → Remove Selected menu click by deleting all selected objects, prompting for bulk confirmation when more than one is selected.
tsmiRichText_Click 
tsmiUndo_ClickHandles the Edit → Undo menu click by delegating to ProcessUndo.
UnloadExtendersReleases resources held by all loaded flowsheet-level extender items.
UpdateFormTextUpdates the form title bar to reflect the current file path or simulation name.
UpdateInformationRefreshes the watch panel list and evaluates all spreadsheet formulas for top-level flowsheets.
UpdateInterfaceInvalidates the flowsheet drawing surface on the UI thread, triggering a redraw, and raises InterfaceUpdated.
UpdateMassAndEnergyBalance 
UpdateObjectListPanel 
UpdateOpenEditFormsRefreshes every open object editor form, dynamics editor, extra-properties editor, tooltip overlay, and attached utility panel.
UpdateProcessDataReceives updated process data XML; currently a no-op placeholder.
UpdateSettingsPanelRe-initialises the simulation settings panel (FrmStSim1) to reflect the current flowsheet state.
UpdateSpreadsheetRe-evaluates all spreadsheet cells and writes DWSIM variable references back to the spreadsheet.
UpdateToolstripItemVisibilityUpdates the enabled state of Edit menu and toolbar items based on the current surface selection, and checks whether clipboard content can be pasted.
UtilitiesTSMI_Click 
UtilitiesTSMIHandler 
WriteMessageWrites an informational message to the log panel using the default black colour.
WriteSpreadsheetVariablesWrites all DWSIM variable bindings back to the embedded spreadsheet on the UI thread.
WriteToLog Appends a message to the log panel with the specified colour and type, and updates the status-bar label. When the flowsheet is a sub-flowsheet with RedirectMessages enabled the message is forwarded to the master flowsheet log with the sub-flowsheet tag prepended.

Events

EditingFormsUpdatedRaised after all open property-editor forms have been refreshed with updated data.
FinishedSolvingRaised when the flowsheet solver completes a calculation pass.
InterfaceUpdatedRaised after the main flowsheet interface (toolbar state, status bar, etc.) has been refreshed.
NewDataLoadedRaised after new simulation data has been loaded and the UI has been refreshed.
NewMessageSentRaised whenever a new log message is generated; the message, type, and originating exception are passed to subscribers.
StartedSolvingRaised when the flowsheet solver begins a new calculation pass.
ToolOpenedRaised when a tool window is opened within this flowsheet.

Fields

AIInsights 
ChartCollectionGets or sets the dictionary of chart definitions embedded in this flowsheet, keyed by name.
CheckedToolstripButtonThe last toolbar button that was toggled into a checked state.
ClassIdCOM class identifier (CLSID) for the FormFlowsheet class.
ClickedToolStripMenuItemThe last menu item that was clicked by the user.
CollectionsOrganises all flowsheet objects (simulation objects, graphic objects, optimisation/sensitivity cases) into named collections.
components 
EventsIdCOM event-source interface identifier used to sink IFlowsheetNewMessageSentEvent events.
FormChartsThe docked charts panel.
FormCOReportsThe docked CAPE-OPEN report viewer panel.
FormDynamicsThe docked dynamics manager panel.
FormFilesExplorerThe docked file explorer panel.
FormIntegratorControlsThe docked dynamics integrator control panel.
FormLogThe docked log/message panel.
FormMatListThe docked material-stream property list panel.
FormOptimization0The docked optimization configuration form.
FormScript1The docked script editor panel.
FormSensAnalysis0The docked sensitivity analysis configuration form.
FormSpreadsheetThe docked spreadsheet form.
FormSurfaceThe docked flowsheet drawing surface panel.
FormWatchThe docked watch/variable-monitor panel.
FrmPCBulkThe bulk petroleum characterisation (C7+ fractions) dialog.
FrmReacManThe reaction manager dialog for defining and editing chemical reactions.
FrmReportThe report configuration dialog for generating simulation reports.
FrmStSim1The simulation settings editor form (compounds, property packages, units, reactions).
IDThe unique GUID string that identifies this flowsheet instance at runtime.
InsertingObjectToPFDIndicates whether the user is currently in the process of inserting a new object onto the flowsheet surface.
InterfaceIdCOM interface identifier (IID) for the default dual interface exposed by FormFlowsheet.
Invalidating 
listeningaction 
loaded 
m_IsLoadedFromFileIndicates that the flowsheet was populated by loading an existing file rather than being newly created.
m_overrideCloseQuestionWhen True, suppresses the save-on-close confirmation dialog.
MessagePump 
PanelCOWarningDismissed 
prevcolor1Stores previous toolbar highlight colours so they can be restored after a selection change.
prevcolor2Stores previous toolbar highlight colours so they can be restored after a selection change.
QuestionID 
RedoStackStack of serialized snapshots used to support redo operations.
ScriptCollectionGets or sets the dictionary of Python/IronPython scripts defined for this flowsheet, keyed by unique ID.
toolstripButtonDict 
UndoStackStack of serialized snapshots used to support undo operations.

Extension Methods

Explicit Interface Implementations

See Also