Performing adaptive process control by integrating future trajectories into automated controller operational models

By integrating future trajectory models into automated controller operational models, the system effectively adapts to weather-related disturbances, improving the accuracy and efficiency of process control in facilities like refineries.

WO2024218556A1PCT designated stage expired Publication Date: 2024-10-24INV POLYPROPYLENE LLC +1

Patent Information

Application Number
PCT/IB2023/056696
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-17
Filing Date
2023-06-28
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Conventional process control systems struggle to adapt to highly variable inputs, such as weather-related disturbances, in a timely and accurate manner, leading to mistimed adjustments, overcompensation, and resource wastage in facilities like refineries.

Method used

The integration of future trajectory models into automated controller operational models allows for closed-loop control of processing facilities by predicting and adjusting to weather-related disturbances, optimizing control parameters in real-time.

Benefits of technology

This approach enhances operational accuracy, reliability, and efficiency by enabling precise adjustments to weather changes, reducing downtime and energy wastage, and maintaining optimal operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IB2023056696_24102024_PF_FP_ABST
    Figure IB2023056696_24102024_PF_FP_ABST
Patent Text Reader

Abstract

Various embodiments of the present disclosure disclose innovative techniques for increasing efficiency of adaptive process control systems. For example, various embodiments of the present disclosure enhance operational accuracy, long-term reliability, and computational efficiency of performing adaptive process control operations by using automated controller operational models that integrate disturbance variable predictive models for future feedforward disturbance variables.
Need to check novelty before this filing date? Find Prior Art

Description

PERFORMING ADAPTIVE PROCESS CONTROL BY INTEGRATING FUTURETRAJECTORIES INTO AUTOMATED CONTROLLER OPERATIONAL MODELSCROSS-REFERENCE TO RELATED APPLICATIONS

[0001] The present application claims priority to U.S. Provisional Application Serial No. 63 / 459,723, titled “PERFORMNING ADAPTIVE PROCESS CONTROL BY INTEGRATING FUTURE TRAJECTORIES INTO AUTOMATED CONTROLLER OPERATIONAL MODELS,” filed April 17, 2023, the entire contents of which are incorporated herein by reference in their entirety for any purpose.BACKGROUND

[0002] Process control systems suffer from drawbacks associated with an inability to adapt process control operations based on highly variable inputs (e.g., weather-related feed forward variables) and with sufficient time to adapt the process control operations before operations are negatively impacted. Various embodiments of the present disclosure address technical challenges related to performing adaptive process control operations and disclose innovative techniques for increasing efficiency and reliability of adaptive process control systems.BRIEF SUMMARY

[0003] Various embodiments of the present disclosure are related to increasing efficiency of adaptive process control systems. For example, various embodiments of the present disclosure enhance operational accuracy, long-term reliability, and computational efficiency of performing adaptive process control operations by using automated controller operational models that integrate expected correlation models for future feedforward disturbance variables (e.g., weather- related future feed forward disturbance variables, such as weather-related future feed forward disturbance variables determined based at least in part on preprocessing predicted weather data).BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

[0004] Reference will now be made to the accompanying drawings, which are not necessarily drawn to scale, and wherein:

[0005] FIG. 1 provides an exemplary overview of an architecture that can be used to practice embodiments of the present disclosure.

[0006] FIG. 2 provides an example controller management computing entity in accordance with some embodiment discussed herein.

[0007] FIG. 3 provides an example adaptive process control software application computing entity in accordance with some embodiments discussed herein.

[0008] FIG. 4 is a flowchart diagram of an example process for performing adaptive process control for a plant using a plant operational controller in accordance with some embodiments discussed herein.

[0009] FIG. 5 depicts an example feed forward flow in accordance with some embodiments of the present disclosure.

[0010] FIGs. 6A and 6B depict examples of ambient temperature and weather influenced variable predictions.

[0011] FIGs. 7A and 7B depict examples of ambient temperature and weather influenced variable predictions in accordance with some embodiments of the present disclosure.

[0012] FIGs. 8A and 8B depict comparisons of operational parameters and variables with and without example embodiments of the present disclosure.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Various embodiments of the present disclosure now will be described more fully hereinafter with reference to the accompanying drawings, in which some, but not all, embodiments of the disclosures are shown. Indeed, these disclosures may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will satisfy applicable legal requirements. The term “or” is used herein in both the alternative and conjunctive sense, unless otherwise indicated. The terms “illustrative” and “exemplary” are used to be examples with no indication of quality level. Like numbers refer to like elements throughout.I. Exemplary Technical Advantages

[0014] Embodiments herein are directed to process control associated with managing the impact of weather on systems (e.g., facilities having large surface areas, where even the slightestchange in weather can have an impact on function or performance due to change in environmental conditions associated with the surface areas; e.g., refinery systems).

[0015] Process control (e.g., for a plant, refinery, other facility, or other equipment) can include, in some examples, sensor elements, logic elements, and operational control elements. Examples of sensors can include mechanical, electronic, and wireless devices that measure, for example, temperature, flow, pressure, level, density, composition, wind speed, wind direction, precipitation rate, precipitation type, conductivity, and the like. Logic elements can include computing systems, multi-variable predictive control, machine learning, and the like. Logic elements can be distributed throughout a facility or piece of equipment. Logic elements can further be layered, with base process control taking direction from optimization or advanced control tools running on powerful server computing entities. Operational control elements can be manual (e.g., human intervention) or automatic, including mechanical, pneumatic, electric, electronic, and wireless valves, pumps, conveyors, compressors, and the like.

[0016] Conventionally, process control has used historical data and step testing to develop models between an action and a series of reactions within a given process. These models are then fed into a matrix solver that repeatedly iterates and generates multi-variable solutions. Given a series of limits and constraints, the process control then uses the models to predict optimum positions of all operational control elements according to a cadence (e.g., once per minute). The use of feed forward variables provides for creation of models against a variable that impacts the process in the future (e.g., how much flow will eventually impact a vessel level). However, traditionally, feed forward variables have only been used in conjunction with controlled process inputs and not with inputs associated with significant variation (e.g., weather).

[0017] Process control for facilities and equipment that are impacted by weather is technologically complicated and difficult due to the fact that weather predictions are not sufficiently granular nor associated with an appropriate duration for the sensitivity or variation associated with the facilities or equipment. Lor example, if a piece of equipment requires an operating temperature within a particular range, and takes a given duration to adjust to weather changes that may increase or decrease the operating temperature outside of the particular range, it is preferable to have weather predictions with enough advance notice (and sufficient granularity) so as to properly time and dictate adjustments to the operating parameters of the piece of equipment (e.g., to maintain operating of the equipment within the desired temperature range notwithstandingthe change in weather; to avoid damage to the equipment or unnecessary downtime in the entire equipment line). Conventional process control techniques are unable to support such granularity, variability, and timing. Conventional process control techniques therefore lead to mistimed adjustments, overcompensations, and / or overly conservative adjustments, and thus wasted energy, wasted resources, and possibly damage.

[0018] Embodiments herein overcome the aforementioned drawbacks and more by performing adaptive process control operations based on automated controller operational models that integrate disturbance variable predictive models for disturbance variables (e.g., weather-related disturbance variables, such as predictions or models determined based at least in part on preprocessing predicted weather data). That is, future trajectory curves are applied to predicted weather data to provide for closed-loop control of a processing facility (e.g., a refinery). Application of the future trajectory curves to predicted weather data, leading to the closed-loop control of the processing facility, eliminates the need for manual adjustments based on rainstorm or other weather changes, impacts, and / or disruptions. Embodiments herein right-size feed forward adjustments, adjust control parameters in response to feedback during a weather disturbance (e.g., a storm or other weather condition or change), and optimize control parameters after the weather disturbance passes.

[0019] Embodiments herein further provide for preprocessing of predicted weather data such that the predicted weather data, which may be voluminous (e.g., received as a very large array of data), constantly updated (e.g., received according to a cadence in a range of 1-5 minutes), and in an undesirable format (e.g., in a format that is not able to be easily processed), can be ingested and transformed for use with predictive models herein. Preprocessing of the predicted weather data according to embodiments herein provides for making the aforementioned predictions while the predicted weather data is relevant (e.g., avoiding processing latency such that predictions are no longer useful in the context of adaptive process control).

[0020] While discussion herein is related to a plant, it will be appreciated that embodiments herein provide improvements to automated process control for various facilities and equipment, including but not limited to steam systems, cooling towers, utilities systems, distillation towers, air movers, process systems, and / or any types of facilities or equipment that is impacted by weather conditions.IL Exemplary Definitions of Certain Terms

[0021] The term “disturbance variable” may refer to a variable that has an ability to disturb operational or process control for a given facility. The term “control variable” may refer to an intermediate variable that has an ability to impact a downstream process, decision, or parameter.

[0022] The term “feed forward” refers to an element or pathway within a control system or other system that passes a controlling signal (e.g., a command signal, control signal, or control variable) from a source in its external environment to a load elsewhere in its external environment. An example of a feed forward is depicted in FIG. 5. Control variable (e.g., CV in FIG. 5) adjustment within a feed forward system, as in present embodiments, is based on knowledge about the process and knowledge about, or measurements of, the process disturbances, which are in the form of disturbance variables. In some embodiments, disturbance variables (e.g., DV in FIG. 5) are associated with measurements (e.g., MV in FIG. 5) or predictions of weather conditions.

[0023] The term “disturbance variable trajectory” may refer to a data construct that describes a set of observed or predicted trajectory values for the disturbance variable across a trajectory temporal range. For example, the disturbance variable trajectory of a particular disturbance variable may describe the observed / recorded values of the particular disturbance variable over the past 24 hours and with a 2-hour frequency. In this example, the trajectory temporal range of the disturbance variable is the past 24 hours from a current time, which comprises recorded values for timestamps (referred to herein as trajectory value timestamps) associated with the individual observed / recorded disturbance variable values over the past 24 hours (e.g., if the current time is 11:25 AM on 6 / 8 / 2022, then timestamps such as 12:00 PM on 6 / 7 / 2022, 2:00 PM on 6 / 7 / 2022, and so on). As another example, the disturbance variable trajectory of another particular disturbance variable may describe the predicted values of the particular disturbance variable over the next 24 hours and with a 2-hour frequency. In this example, the trajectory temporal range of the disturbance variable is the next 24 hours from a current time, where the timestamps associated with the individual observed / recorded disturbance variable values over the next 24 hours (e.g., if the current time is 11:25 AM on 6 / 8 / 2022, then timestamps such as 12:00 PM on 6 / 8 / 2022, 2:00 PM on 6 / 8 / 2022, and so on) are the trajectory value timestamps of the particular disturbance variable.

[0024] The term “future feedforward disturbance variable” or “disturbance variable predictive model” may refer to a data construct that describes a disturbance variable whose trajectorytemporal range is a future period. In some embodiments, because the trajectory temporal range of a future feedforward disturbance variables or disturbance variables is a future period, the disturbance variable values described by the disturbance variable trajectory of the future trajectory disturbance variable are predicted future trajectory values. An example of a future feedforward disturbance variable is a predicted weather future feedforward disturbance variable. In this example, the trajectory temporal range of the disturbance variable trajectory for the predicted weather future feedforward disturbance variable may be the next 24 hours from a current time, and thus the disturbance variable trajectory for the noted disturbance variable may describe predicted values for a weather-related measure (e.g., a temperature measure, a precipitation measure, and / or the like) in defined timestamps in the next 24 hours from a current time. In some embodiments, the disturbance variable trajectory for a future feedforward disturbance variable is referred to herein as a future trajectory, the temporal range for the future trajectory of a future feedforward disturbance variable is referred to herein as a future trajectory temporal range, and the defined timestamps of the future trajectory of a future feedforward disturbance variable are referred to herein as defined future trajectory timestamps. Accordingly, in some embodiments, a future feedforward disturbance variable is associated with a future trajectory as the disturbance variable trajectory for the future feedforward disturbance variable, and the noted future trajectory describes, for each future trajectory timestamp of a plurality of defined future trajectory timestamps in a future trajectory temporal range of the future trajectory, a predicted future trajectory value.

[0025] The terms “disturbance variable predictive model” or “prediction stream” may refer to a data construct that describes a collection of predicted future trajectory values over a respective temporal range that is associated with the prediction steam and in accordance with a respective prediction frequency associated with the prediction stream. Examples of prediction streams include a first prediction stream that generates weather-related predictions over the next 6 hours from a current time (e.g., approximately a range of 0-6 hours) and according to a cadence of approximately every 1-5 minutes, and a second prediction stream that generates weather-related predictions over the next 36 hours from a current time and every hour. In this example, the respective temporal range for the first prediction stream may be the next 6 hours from the current time, the respective prediction frequency of the first prediction stream may be 1 / 5*60 = 1 / 300 sec'1, the respective temporal range for the second prediction stream may be the next 36 hours from the current time, and the respective prediction frequency for the second prediction stream may be1 / 5*60*60 = 1 / 18000 sec'1. In this way, the first prediction stream has a higher respective prediction frequency than the respective prediction frequency of the second prediction stream, but the second prediction stream has a longer respective temporal range than the respective temporal range of the first prediction stream.

[0026] The term “future trajectory” may refer to a data construct that describes for each future trajectory timestamp of a plurality of defined future trajectory timestamps in a future trajectory temporal range of the future trajectory, a predicted future trajectory value for a corresponding future feedforward disturbance variable. In some embodiments, the future trajectory of a future feedforward disturbance variable is determined based at least in part on: (i) a condensed-range higher-frequency prediction stream that generates first predicted future trajectory values in accordance with a first prediction frequency and for a first temporal range, and (ii) an expanded- range lower-frequency prediction stream that generates second predicted future trajectory values in accordance with a second prediction frequency and for a second temporal range, where: (i) the first temporal range is smaller than the future trajectory temporal range for the future trajectory (e.g., if the future trajectory for the future feedforward disturbance variable covers the next 24 hours from the current time, the first temporal range for the condensed-range higher-frequency prediction stream covers a period of time less than 24 hours from the current time), (ii) the first prediction frequency is higher than the second prediction frequency, and (iii) the second temporal range is longer than the first temporal range. In some embodiments, the future trajectory of a future feedforward disturbance variable is generated based at least in part on S prediction streams, where each prediction stream: (i) describes predicted future trajectory values over a respective temporal range that is associated with the prediction steam and in accordance with a respective prediction frequency associated with the prediction stream, and (ii) is associated with a reliability measure that describes how reliable predicted values described by the prediction stream are predicted to be (where the reliability measure of a prediction stream may be preconfigured, may be generated based at least in part on a historical reliability measure that describes how much historical predicted values of the prediction stream correspond to ground-truth values, and / or the like).

[0027] The terms “operational control model” or “automated controller operational model” may refer to a data construct that describes correlations between disturbance variables of an operational condition / environment of a target plant and manipulated variables of the noted operational condition / environment. In some embodiments, an automated controller operationalmodel describes, for each variable pair comprising a respective disturbance variable and a respective manipulated variable space, an expected correlation model. For example, if the disturbance variable space of a plant operational controller comprises three disturbance variable and the manipulated variable space of the plant operational controller comprises two manipulated variables, then 3 * 2 = 6 expected correlation models may be generated, with the first expected correlation model describing correlation data for the variable pair comprising the first disturbance variable and the first manipulated variable, the second expected correlation model describing correlation data for the variable pair comprising the second disturbance variable and the first manipulated variable, the third expected correlation model describing correlation data for the variable pair comprising the third disturbance variable and the first manipulated variable, a fourth expected correlation model describing correlation data for the variable pair comprising the first disturbance variable and the second manipulated variable, a fifth expected correlation model describing correlation data for the variable pair comprising the second disturbance variable and the second manipulated variable, and a sixth expected correlation model describing correlation data for the variable pair comprising the third disturbance variable and the second manipulated variable.

[0028] The term “expected correlation model” may refer to a data construct that describes, for each future correlation timestamp in a future correlation temporal range, a predicted change in the respective manipulated variable for a particular variable pair at the future correlation timestamp that is predicted to result from a current defined-size change (e.g., a defined-size change at the current time, such as a unit-size change at the current time) in the respective disturbance variable for the variable pair. For example, if a disturbance variable describes a valve opening measure for a target valve and a manipulated variable describes an operational speed of a target machine in a target plant, and further if the future correlation time range across which correlation between the noted disturbance variable and the noted manipulated variable are modeled covers the next 24 hours from the current time, then the expected correlation model for the variable pair comprising the noted disturbance variable and the noted manipulated variable may describe, at each defined timestamp of a set of defined timestamps in the next 24 hours from the current time (referred to herein as defined future correlation timestamps, such as at defined timestamps that are 5 minutes apart from each other), how much a defined-size change in the valve opening measure affects the operational speed measure. For example, in accordance with an exemplary expected correlationmodel for the described value pair, the defined-size change in the valve opening measure may be expected to have no effect on the operational speed measure in the next 5 minutes after current time, but then the operational speed may be expected to linearly increase as a result of the defined- size change in the valve opening measure for the next 55 minutes.III. Computer Program Products, Methods, and Computing Entities

[0029] Embodiments of the present disclosure may be implemented in various ways, including as computer program products that comprise articles of manufacture. Such computer program products may include one or more software components including, for example, software objects, methods, data structures, or the like. A software component may be coded in any of a variety of programming languages. An illustrative programming language may be a lower-level programming language such as an assembly language associated with a particular hardware architecture and / or operating system platform. A software component comprising assembly language instructions may require conversion into executable machine code by an assembler prior to execution by the hardware architecture and / or platform. Another example programming language may be a higher-level programming language that may be portable across multiple architectures. A software component comprising higher-level programming language instructions may require conversion to an intermediate representation by an interpreter or a compiler prior to execution.

[0030] Other examples of programming languages include, but are not limited to, a macro language, a shell or command language, a job control language, a script language, a database query or search language, and / or a report writing language. In one or more example embodiments, a software component comprising instructions in one of the foregoing examples of programming languages may be executed directly by an operating system or other software component without having to be first transformed into another form. A software component may be stored as a file or other data storage construct. Software components of a similar type or functionally related may be stored together such as, for example, in a particular directory, folder, or library. Software components may be static (e.g., pre-established or fixed) or dynamic (e.g., created or modified at the time of execution).

[0031] A computer program product may include a non-transitory computer-readable storage medium storing applications, programs, program modules, scripts, source code, program code,object code, byte code, compiled code, interpreted code, machine code, executable instructions, and / or the like (also referred to herein as executable instructions, instructions for execution, computer program products, program code, and / or similar terms used herein interchangeably). Such non-transitory computer-readable storage media include all computer-readable media (including volatile and non-volatile media).

[0032] In one embodiment, a non-volatile computer-readable storage medium may include a floppy disk, flexible disk, hard disk, solid-state storage (SSS) (e.g., a solid state drive (SSD), solid state card (SSC), solid state module (SSM), enterprise flash drive, magnetic tape, or any other non- transitory magnetic medium, and / or the like. A non-volatile computer-readable storage medium may also include a punch card, paper tape, optical mark sheet (or any other physical medium with patterns of holes or other optically recognizable indicia), compact disc read only memory (CD- ROM), compact disc-rewritable (CD-RW), digital versatile disc (DVD), Blu-ray disc (BD), any other non-transitory optical medium, and / or the like. Such a non-volatile computer- readable storage medium may also include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory (e.g., Serial, NAND, NOR, and / or the like), multimedia memory cards (MMC), secure digital (SD) memory cards, SmartMedia cards, CompactFlash (CF) cards, Memory Sticks, and / or the like. Further, a non-volatile computer- readable storage medium may also include conductive-bridging random access memory (CBRAM), phase-change random access memory (PRAM), ferroelectric random-access memory (FeRAM), non-volatile random-access memory (NVRAM), magnetoresistive random-access memory (MRAM), resistive random-access memory (RRAM), Silicon-Oxide-Nitride-Oxide- Silicon memory (SONOS), floating junction gate random access memory (FJG RAM), Millipede memory, racetrack memory, and / or the like.

[0033] In one embodiment, a volatile computer-readable storage medium may include random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), fast page mode dynamic random access memory (FPM DRAM), extended data-out dynamic random access memory (EDO DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), double data rate type two synchronous dynamic random access memory (DDR2 SDRAM), double data rate type three synchronous dynamic random access memory (DDR3 SDRAM), Rambusdynamic random access memory (RDRAM), Twin Transistor RAM (TTRAM), Thyristor RAM (T-RAM), Zero-capacitor (Z-RAM), Rambus in-line memory module (RIMM), dual in-line memory module (DIMM), single in-line memory module (SIMM), video random access memory (VRAM), cache memory (including various levels), flash memory, register memory, and / or the like. It will be appreciated that where embodiments are described to use a computer-readable storage medium, other types of computer-readable storage media may be substituted for or used in addition to the computer-readable storage media described above.

[0034] As should be appreciated, various embodiments of the present disclosure may also be implemented as methods, apparatus, systems, computing devices, computing entities, and / or the like. As such, embodiments of the present disclosure may take the form of an apparatus, system, computing device, computing entity, and / or the like executing instructions stored on a computer- readable storage medium to perform certain steps or operations. Thus, embodiments of the present disclosure may also take the form of an entirely hardware embodiment, an entirely computer program product embodiment, and / or an embodiment that comprises a combination of computer program products and hardware performing certain steps or operations.

[0035] Embodiments of the present disclosure are described below with reference to block diagrams and flowchart illustrations. Thus, it should be understood that each block of the block diagrams and flowchart illustrations may be implemented in the form of a computer program product, an entirely hardware embodiment, a combination of hardware and computer program products, and / or apparatus, systems, computing devices, computing entities, and / or the like carrying out instructions, operations, steps, and similar words used interchangeably (e.g., the executable instructions, instructions for execution, program code, and / or the like) on a computer- readable storage medium for execution. For example, retrieval, loading, and execution of code may be performed sequentially such that one instruction is retrieved, loaded, and executed at a time. In some exemplary embodiments, retrieval, loading, and / or execution may be performed in parallel such that multiple instructions are retrieved, loaded, and / or executed together. Thus, such embodiments can produce specifically-configured machines performing the steps or operations specified in the block diagrams and flowchart illustrations. Accordingly, the block diagrams and flowchart illustrations support various combinations of embodiments for performing the specified instructions, operations, or steps.IV. Exemplary System Architecture

[0036] FIG. 1 provides an exemplary overview of an architecture 100 that can be used to practice embodiments of the present disclosure. The architecture 100 comprises a controller management computing entity 106, an adaptive process control software application computing entity 103, and a plant operational controller 102.

[0037] In some embodiments, the controller management computing entity 106 is configured to generate an automated controller operational model for the plant operational controller 102 that comprises expected correlation models for a future feedforward disturbance variable by interacting with an adaptive process control software application computing entity 103, where the adaptive process control software application computing entity 103 can configure / set one or more controller parameters of the plant operational controller 102. In some embodiments, the controller management computing entity 106 generates the automated controller operational model by providing historical trajectories for both disturbance variables and manipulated variables to the adaptive process control software application computing entity 103 and via an adaptive process control software application, where the adaptive process control software application computing entity 103 is configured to generate the automated controller operational model based at least in part on the provided historical trajectories. In some embodiments, the controller management computing entity 106 generates the automated controller operational model by providing historical trajectories for both disturbance variables and manipulated variables as well as a defined calibration measure to the adaptive process control software application computing entity 103 and via an adaptive process control software application, where the adaptive process control software application computing entity 103 is configured to generate the automated controller operational model based at least in part on the provided historical trajectories and the provided calibration measure. An example of an adaptive process control software application is a model-predictive, multi-variable advanced process control application.

[0038] In some embodiments, once generated, the automated controller operational model is used (e.g., by the adaptive process control software application computing entity 103) to perform adaptive process control by setting one or more controller parameters of the plant operational controller based at least in part on each disturbance variable trajectory and the automated controller operational model. In some embodiments, while disturbance variables trajectories describe observed or predicted values of disturbance values, the expected correlation models of theautomated controller operational model describe how the disturbance variables trajectories can be used to predict manipulated variable trajectories resulting from the disturbance variables trajectories, as well as changes needed in disturbance variables trajectories in order to achieve desired / target manipulated variable trajectories. The predicted desired / target changes can then be used to set one or more controller parameters of the plant operational controller to cause desired changes in the operational condition / environment of the target plant.Exemplary Controller Management Computing Entity

[0039] FIG. 2 provides a schematic of a controller management computing entity 106 according to one embodiment of the present disclosure. In general, the terms computing entity, computer, entity, device, system, and / or similar words used herein interchangeably may refer to, for example, one or more computers, computing entities, desktops, mobile phones, tablets, phablets, notebooks, laptops, distributed systems, kiosks, input terminals, servers or server networks, blades, gateways, switches, processing devices, processing entities, set-top boxes, relays, routers, network access points, base stations, the like, and / or any combination of devices or entities adapted to perform the functions, operations, and / or processes described herein. Such functions, operations, and / or processes may include, for example, transmitting, receiving, operating on, processing, displaying, storing, determining, creating / generating, monitoring, evaluating, comparing, and / or similar terms used herein interchangeably. In one embodiment, these functions, operations, and / or processes can be performed on data, content, information, and / or similar terms used herein interchangeably.

[0040] As indicated, in one embodiment, the controller management computing entity 106 may also include one or more communications interfaces 220 for communicating with various computing entities, such as by communicating data, content, information, and / or similar terms used herein interchangeably that can be transmitted, received, operated on, processed, displayed, stored, and / or the like.

[0041] As shown in FIG. 2, in one embodiment, the controller management computing entity 106 may include, or be in communication with, one or more processing elements 205 (also referred to as processors, processing circuitry, and / or similar terms used herein interchangeably) that communicate with other elements within the controller management computing entity 106 via a bus, for example. As will be understood, the processing element 205 may be embodied in a number of different ways.

[0042] For example, the processing element 205 may be embodied as one or more complex programmable logic devices (CPLDs), microprocessors, multi-core processors, coprocessing entities, application-specific instruction-set processors (ASIPs), microcontrollers, and / or controllers. Further, the processing element 205 may be embodied as one or more other processing devices or circuitry. The term circuitry may refer to an entirely hardware embodiment or a combination of hardware and computer program products. Thus, the processing element 205 may be embodied as integrated circuits, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), hardware accelerators, other circuitry, and / or the like.

[0043] As will therefore be understood, the processing element 205 may be configured for a particular use or configured to execute instructions stored in volatile or non-volatile media or otherwise accessible to the processing element 205. As such, whether configured by hardware or computer program products, or by a combination thereof, the processing element 205 may be capable of performing steps or operations according to embodiments of the present disclosure when configured accordingly.

[0044] In one embodiment, the controller management computing entity 106 may further include, or be in communication with, non-volatile media (also referred to as non-volatile storage, memory, memory storage, memory circuitry and / or similar terms used herein interchangeably). In one embodiment, the non-volatile storage or memory may include one or more non-volatile storage or memory media 210, including, but not limited to, hard disks, ROM, PROM, EPROM, EEPROM, flash memory, MMCs, SD memory cards, Memory Sticks, CBRAM, PRAM, FeRAM, NVRAM, MRAM, RRAM, SONOS, FJG RAM, Millipede memory, racetrack memory, and / or the like.

[0045] As will be recognized, the non-volatile storage or memory media may store databases, database instances, database management systems, data, applications, programs, program modules, scripts, source code, object code, byte code, compiled code, interpreted code, machine code, executable instructions, and / or the like. The term database, database instance, database management system, and / or similar terms used herein interchangeably may refer to a collection of records or data that is stored in a computer-readable storage medium using one or more database models, such as a hierarchical database model, network model, relational model, entityrelationship model, object model, document model, semantic model, graph model, and / or the like.

[0046] In one embodiment, the controller management computing entity 106 may further include, or be in communication with, volatile media (also referred to as volatile storage, memory, memory storage, memory circuitry, and / or similar terms used herein interchangeably). In one embodiment, the volatile storage or memory may also include one or more volatile storage or memory media 215, including, but not limited to, RAM, DRAM, SRAM, FPM DRAM, EDO DRAM, SDRAM, DDR SDRAM, DDR2 SDRAM, DDR3 SDRAM, RDRAM, TTRAM, T-RAM, Z-RAM, RIMM, DIMM, SIMM, VRAM, cache memory, register memory, and / or the like.

[0047] As will be recognized, the volatile storage or memory media may be used to store at least portions of the databases, database instances, database management systems, data, applications, programs, program modules, scripts, source code, object code, byte code, compiled code, interpreted code, machine code, executable instructions, and / or the like being executed by, for example, the processing element 205. Thus, the databases, database instances, database management systems, data, applications, programs, program modules, scripts, source code, object code, byte code, compiled code, interpreted code, machine code, executable instructions, and / or the like may be used to control certain aspects of the operation of the controller management computing entity 106 with the assistance of the processing element 205 and operating system.

[0048] As indicated, in one embodiment, the controller management computing entity 106 may also include one or more communications interfaces 220 for communicating with various computing entities, such as by communicating data, content, information, and / or similar terms used herein interchangeably that can be transmitted, received, operated on, processed, displayed, stored, and / or the like. Such communication may be executed using a wired data transmission protocol, such as fiber distributed data interface (FDDI), digital subscriber line (DSL), Ethernet, asynchronous transfer mode (ATM), frame relay, data over cable service interface specification (DOCSIS), or any other wired transmission protocol. Similarly, the controller management computing entity 106 may be configured to communicate via wireless external communication networks using any of a variety of protocols, such as general packet radio service (GPRS), Universal Mobile Telecommunications System (UMTS), Code Division Multiple Access 2000 (CDMA2000), CDMA2000 IX (IxRTT), Wideband Code Division Multiple Access (WCDMA), Global System for Mobile Communications (GSM), Enhanced Data rates for GSM Evolution (EDGE), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), Evolved Universal Terrestrial Radio Access Network (E-UTRAN), Evolution-Data Optimized (EVDO), High Speed Packet Access (HSPA), High-Speed Downlink Packet Access (HSDPA), IEEE 802.11 (Wi-Fi), Wi-Fi Direct, 802.16 (WiMAX), ultra-wideband (UWB), infrared (IR) protocols, near field communication (NFC) protocols, Wibree, Bluetooth protocols, wireless universal serial bus (USB) protocols, and / or any other wireless protocol.

[0049] Although not shown, the controller management computing entity 106 may include, or be in communication with, one or more input elements, such as a keyboard input, a mouse input, a touch screen / display input, motion input, movement input, audio input, pointing device input, joystick input, keypad input, and / or the like. The controller management computing entity 106 may also include, or be in communication with, one or more output elements (not shown), such as audio output, video output, screen / display output, motion output, movement output, and / or the like.Exemplary Adaptive Process Control Software Application Computing Entity

[0050] FIG. 3 provides a schematic of an adaptive process control software application computing entity 103 according to one embodiment of the present disclosure. In general, the terms computing entity, computer, entity, device, system, and / or similar words used herein interchangeably may refer to, for example, one or more computers, computing entities, desktops, mobile phones, tablets, phablets, notebooks, laptops, distributed systems, kiosks, input terminals, servers or server networks, blades, gateways, switches, processing devices, processing entities, set-top boxes, relays, routers, network access points, base stations, the like, and / or any combination of devices or entities adapted to perform the functions, operations, and / or processes described herein. Such functions, operations, and / or processes may include, for example, transmitting, receiving, operating on, processing, displaying, storing, determining, creating / generating, monitoring, evaluating, comparing, and / or similar terms used herein interchangeably. In one embodiment, these functions, operations, and / or processes can be performed on data, content, information, and / or similar terms used herein interchangeably.

[0051] As indicated, in one embodiment, the adaptive process control software application computing entity 103 may also include one or more communications interfaces 320 for communicating with various computing entities, such as by communicating data, content, information, and / or similar terms used herein interchangeably that can be transmitted, received, operated on, processed, displayed, stored, and / or the like.

[0052] As shown in FIG. 3, in one embodiment, the adaptive process control software application computing entity 103 may include, or be in communication with, one or more processing elements 305 (also referred to as processors, processing circuitry, and / or similar terms used herein interchangeably) that communicate with other elements within the adaptive process control software application computing entity 103 via a bus, for example. As will be understood, the processing element 305 may be embodied in a number of different ways.

[0053] For example, the processing element 305 may be embodied as one or more complex programmable logic devices (CPLDs), microprocessors, multi-core processors, coprocessing entities, application-specific instruction-set processors (ASIPs), microcontrollers, and / or controllers. Further, the processing element 305 may be embodied as one or more other processing devices or circuitry. The term circuitry may refer to an entirely hardware embodiment or a combination of hardware and computer program products. Thus, the processing element 305 may be embodied as integrated circuits, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), hardware accelerators, other circuitry, and / or the like.

[0054] As will therefore be understood, the processing element 305 may be configured for a particular use or configured to execute instructions stored in volatile or non-volatile media or otherwise accessible to the processing element 305. As such, whether configured by hardware or computer program products, or by a combination thereof, the processing element 305 may be capable of performing steps or operations according to embodiments of the present disclosure when configured accordingly.

[0055] In one embodiment, the adaptive process control software application computing entity 103 may further include, or be in communication with, non-volatile media (also referred to as nonvolatile storage, memory, memory storage, memory circuitry and / or similar terms used herein interchangeably). In one embodiment, the non-volatile storage or memory may include one or more non-volatile storage or memory media 310, including, but not limited to, hard disks, ROM, PROM, EPROM, EEPROM, flash memory, MMCs, SD memory cards, Memory Sticks, CBRAM, PRAM, FeRAM, NVRAM, MRAM, RRAM, SONOS, FJG RAM, Millipede memory, racetrack memory, and / or the like.

[0056] As will be recognized, the non-volatile storage or memory media may store databases, database instances, database management systems, data, applications, programs, programmodules, scripts, source code, object code, byte code, compiled code, interpreted code, machine code, executable instructions, and / or the like. The term database, database instance, database management system, and / or similar terms used herein interchangeably may refer to a collection of records or data that is stored in a computer-readable storage medium using one or more database models, such as a hierarchical database model, network model, relational model, entityrelationship model, object model, document model, semantic model, graph model, and / or the like.

[0057] In one embodiment, the adaptive process control software application computing entity 103 may further include, or be in communication with, volatile media (also referred to as volatile storage, memory, memory storage, memory circuitry, and / or similar terms used herein interchangeably). In one embodiment, the volatile storage or memory may also include one or more volatile storage or memory media 315, including, but not limited to, RAM, DRAM, SRAM, FPM DRAM, EDO DRAM, SDRAM, DDR SDRAM, DDR2 SDRAM, DDR3 SDRAM, RDRAM, TTRAM, T-RAM, Z-RAM, RIMM, DIMM, SIMM, VRAM, cache memory, register memory, and / or the like.

[0058] As will be recognized, the volatile storage or memory media may be used to store at least portions of the databases, database instances, database management systems, data, applications, programs, program modules, scripts, source code, object code, byte code, compiled code, interpreted code, machine code, executable instructions, and / or the like being executed by, for example, the processing element 305. Thus, the databases, database instances, database management systems, data, applications, programs, program modules, scripts, source code, object code, byte code, compiled code, interpreted code, machine code, executable instructions, and / or the like may be used to control certain aspects of the operation of the adaptive process control software application computing entity 103 with the assistance of the processing element 305 and operating system.

[0059] As indicated, in one embodiment, the adaptive process control software application computing entity 103 may also include one or more communications interfaces 320 for communicating with various computing entities, such as by communicating data, content, information, and / or similar terms used herein interchangeably that can be transmitted, received, operated on, processed, displayed, stored, and / or the like. Such communication may be executed using a wired data transmission protocol, such as fiber distributed data interface (FDDI), digital subscriber line (DSL), Ethernet, asynchronous transfer mode (ATM), frame relay, data over cableservice interface specification (DOCSIS), or any other wired transmission protocol. Similarly, the adaptive process control software application computing entity 103 may be configured to communicate via wireless external communication networks using any of a variety of protocols, such as general packet radio service (GPRS), Universal Mobile Telecommunications System (UMTS), Code Division Multiple Access 2000 (CDMA2000), CDMA2000 IX (IxRTT), Wideband Code Division Multiple Access (WCDMA), Global System for Mobile Communications (GSM), Enhanced Data rates for GSM Evolution (EDGE), Time Division- Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), Evolved Universal Terrestrial Radio Access Network (E-UTRAN), Evolution-Data Optimized (EVDO), High Speed Packet Access (HSPA), High-Speed Downlink Packet Access (HSDPA), IEEE 802.11 (Wi-Fi), Wi-Fi Direct, 802.16 (WiMAX), ultra- wideband (UWB), infrared (IR) protocols, near field communication (NFC) protocols, Wibree, Bluetooth protocols, wireless universal serial bus (USB) protocols, and / or any other wireless protocol.

[0060] Although not shown, the adaptive process control software application computing entity 103 may include, or be in communication with, one or more input elements, such as a keyboard input, a mouse input, a touch screen / display input, motion input, movement input, audio input, pointing device input, joystick input, keypad input, and / or the like. The adaptive process control software application computing entity 103 may also include, or be in communication with, one or more output elements (not shown), such as audio output, video output, screen / display output, motion output, movement output, and / or the like.V. Example System Operation

[0061] FIG. 4 is a flowchart diagram of an example process 400 for performing adaptive process control for a plant using a plant operational controller 102. Via the various steps / operations of the process 400, the controller management computing entity 106 is configured to generate an automated controller operational model for the plant operational controller 102 that comprises expected correlation models for a future feedforward disturbance variable by interacting with an adaptive process control software application computing entity 103, where the adaptive process control software application computing entity 103 can configure / set one or more controller parameters of the plant operational controller 102.

[0062] In embodiments, the process 400 may begin, at step / operation 401 with retrieving or receiving a disturbance variable predictive model. The disturbance variable predictive model may be received (e.g., consumed from one or more APIs or data streams) in a first format that may not be a preferred format for use by the controller management computing entity 106 for operations herein. Accordingly, the disturbance variable predictive model is transformed by the controller management computing entity 106 into a preferred format prior to step 401, according to details included in the source code provided herein. The process 400 begins or continues at step / operation 402 when the controller management computing entity 106 transforms the disturbance variable predictive model into a future feed forward trajectory model. In some embodiments, the disturbance variable predictive model includes a first plurality of defined future trajectory timestamps in a first future trajectory temporal range of a first future trajectory, and a predicted future trajectory value of a disturbance variable for each of the first plurality of defined future trajectory timestamps. In some embodiments, the future feed forward trajectory model includes a second plurality of defined future trajectory timestamps in a second future trajectory temporal range of a second future trajectory, and a predicted future trajectory value for the disturbance variable for each of the second plurality of defined future trajectory timestamps. In some embodiments, the second future trajectory occurs after the first future trajectory.

[0063] Embodiments may include identifying a disturbance variable space for the plant operational controller 102. In some embodiments, the disturbance variable space for the plant operational controller 102 may describe all of the disturbance variables that affect manipulated variables related to the operational condition / environment of the target plant. Accordingly, correlations between the disturbance variable space and a manipulated parameter space that describes the manipulated parameters of the target plant can be used to determine how a current operational condition / environment of the target plant should be manipulated to achieve / maintain a desired operational condition / environment for the target plant.

[0064] In some embodiments, each disturbance variable is associated with a disturbance variable trajectory that describes a set of observed or predicted trajectory values for the disturbance variable across a trajectory temporal range. For example, the disturbance variable trajectory of a particular disturbance variable may describe the observed / recorded values of the particular disturbance variable over the past 24 hours and with a 2-hour frequency. In this example, the trajectory temporal range of the disturbance variable is the past 24 hours prior to a current time,which comprises recorded values for timestamps (referred to herein as trajectory value timestamps) associated with the individual observed / recorded disturbance variable values over the past 24 hours (e.g., if the current time is 11 :25 AM on 6 / 8 / 2022, then timestamps such as 12:00 PM on 6 / 7 / 2022, 2:00 PM on 6 / 7 / 2022, and so on). These past disturbance variable trajectories may be used to compose control models in an off-line environment such that the control models may be used at run-time or during predictive analysis (e.g., online). That is, the past disturbance variable trajectories may be used to determine relationships or develop models based on relationships between disturbance variables and manipulated variables. Future disturbance variable trajectories may then be used in to predict control actions from the models that were developed based on the learned relationships between disturbance variables and manipulated variables.

[0065] In some embodiments, the disturbance variable trajectory of another particular disturbance variable may describe the predicted values of the particular disturbance variable over the next 24 hours and with a 2-hour frequency. In this example, the trajectory temporal range of the disturbance variable is the next 24 hours from a current time, where the timestamps associated with the individual observed / recorded disturbance variable values over the next 24 hours (e.g., if the current time is 11:25 AM on 6 / 8 / 2022, then timestamps such as 12:00 PM on 6 / 8 / 2022, 2:00 PM on 6 / 8 / 2022, and so on) are the trajectory value timestamps of the particular disturbance variable.

[0066] While some disturbance variables are associated with past disturbance variable temporal ranges (e.g., coverage periods that occur before a current time), other disturbance variables are associated with future disturbance variable temporal ranges (e.g., coverage periods that occur after a current time). In some embodiments, the latter category of disturbance variables are referred to herein as future feedforward disturbance variables. In some embodiments, future feedforward disturbance variables can present modeling problems for generating automated controller operational models, and naive integration of those future feedforward disturbance variables can disturb operational accuracy, long-term reliability, and computational efficiency of the resulting automated controller operational models. In response, various embodiments of the present disclosure introduce innovative techniques for performing the noted integration of future feedforward disturbance variables into automated controller operational models in a manner that enables modeling of correlation effects between the future feedforward disturbance variables andthe manipulated variables without affecting the correlation models related to past trajectory disturbance variables. This “isolated” modeling of correlation effects related to future feedforward disturbance variables enhances the operational accuracy, long-term reliability, and computational efficiency of the resulting automated controller operational models.

[0067] A future feedforward disturbance variable may be a disturbance variable whose trajectory temporal range is a future period. In some embodiments, because the trajectory temporal range of a future feedforward disturbance variables is a future period, the disturbance variable values described by the disturbance variable trajectory of the future trajectory disturbance variable are predicted future trajectory values. An example of a future feedforward disturbance variable is a predicted weather future feedforward disturbance variable. In this example, the trajectory temporal range of the disturbance variable trajectory for the predicted weather future feedforward disturbance variable may be the next 24 hours from a current time, and thus the disturbance variable trajectory for the noted disturbance variable may describe predicted values for a weather- related measure (e.g., a temperature measure, a precipitation measure, and / or the like) in defined timestamps in the next 24 hours from a current time. In some embodiments, the disturbance variable trajectory for a future feedforward disturbance variable is referred to herein as a future trajectory, the temporal range for the future trajectory of a future feedforward disturbance variable is referred to herein as a future trajectory temporal range, and the defined timestamps of the future trajectory of a future feedforward disturbance variable are referred to herein as defined future trajectory timestamps. Accordingly, in some embodiments, a future feedforward disturbance variable is associated with a future trajectory as the disturbance variable trajectory for the future feedforward disturbance variable, and the noted future trajectory describes, for each future trajectory timestamp of a plurality of defined future trajectory timestamps in a future trajectory temporal range of the future trajectory, a predicted future trajectory value.

[0068] While various embodiments of the present disclosure describe generating an automated controller operational model based at least in part on a disturbance variable space that comprises only one future feedforward disturbance variable, it will be appreciated that, in some embodiments, an automated controller operational model may be generated based at least in part on a disturbance variable space that comprises more than one future feedforward disturbance variable. In some embodiments, an automated controller operational model is generated based at least in part on a disturbance variable space that comprises more than one predicted weather future feedforwarddisturbance variable, such as a predicted weather future feedforward disturbance variable that is associated with temperature measure predictions and a predicted weather future feedforward disturbance variable that is associated with precipitation measure predictions. In some embodiments, at least one future trajectory for a predicted weather future feedforward disturbance variable is determined based at least in part on data obtained from a weather forecasting software platform. In some embodiments, the data obtained from a weather forecasting software platform is preprocessed and then supplied as a future trajectory using disturbance variable future trajectory feature of an adaptive process control software.

[0069] In some embodiments, the future trajectory of a future feedforward disturbance variable is determined based at least in part on a plurality of prediction streams, where each prediction stream describes predicted future trajectory values over a respective temporal range that is associated with the prediction stream and in accordance with a respective prediction frequency associated with the prediction stream. Examples of prediction streams include a first prediction stream that generates weather-related predictions over the next 6 hours from a current time and every 5 minutes, and a second prediction stream that generates weather-related predictions over the next 36 hours from a current time and every hour. In this example, the respective temporal range for the first prediction stream may be the next 6 hours from the current time, the respective prediction frequency of the first prediction stream may be 1 / 5*60 = 1 / 300 sec'1, the respective temporal range for the second prediction stream may be the next 36 hours from the current time, and the respective prediction frequency for the second prediction stream may be 1 / 5*60*60 = 1 / 18000 sec'1. In this way, the first prediction stream has a higher respective prediction frequency than the respective prediction frequency of the second prediction stream, but the second prediction stream has a longer respective temporal range than the respective temporal range of the first prediction stream.

[0070] In some embodiments, the future trajectory of a future feedforward disturbance variable is determined based at least in part on: (i) a condensed-range higher-frequency prediction stream that generates first predicted future trajectory values in accordance with a first prediction frequency and for a first temporal range, and (ii) an expanded-range lower-frequency prediction stream that generates second predicted future trajectory values in accordance with a second prediction frequency and for a second temporal range, where: (i) the first temporal range is smaller than the future trajectory temporal range for the future trajectory (e.g., if the future trajectory for the futurefeedforward disturbance variable covers the next 24 hours from the current time, the first temporal range for the condensed-range higher- frequency prediction stream covers a period of time less than 24 hours from the current time), (ii) the first prediction frequency is higher than the second prediction frequency, and (iii) the second temporal range is longer than the first temporal range. Assuming that the future trajectory temporal range of a predicted weather future feedforward disturbance variable is less than 6 hours from the current time, an example of a condensed-range higher-frequency prediction stream is a first prediction stream that generates weather-related predictions over the next 6 hours from a current time and every 5 minutes, and an example of an expanded-range lower-frequency prediction stream is a second prediction stream that generates weather-related predictions over the next 36 hours from a current time and every hour.

[0071] In some embodiments, when the future trajectory of a future feedforward disturbance variable is determined based at least in part on: (i) a condensed-range higher-frequency prediction stream that generates first predicted future trajectory values in accordance with a first prediction frequency and for a first temporal range, and (ii) an expanded-range lower-frequency prediction stream that generates second predicted future trajectory values in accordance with a second prediction frequency and for a second temporal range. In such embodiments, the future trajectory includes all of the first predicted future trajectory values, but only those second predicted future trajectory values whose respective prediction timestamps fall outside of the first temporal range and inside the future trajectory temporal range of the future feedforward disturbance variable (referred to herein as the uncovered predicted value subset of the second predicted future trajectory values).

[0072] For example, if the future trajectory temporal range of a predicted weather future feedforward disturbance variable is 24 hours from the current time, and if the condensed-range higher-frequency prediction stream is a first prediction stream that generates weather-related predictions over the next 6 hours from a current time and every 5 minutes, and further if the expanded-range lower-frequency prediction stream is a second prediction stream that generates weather-related predictions over the next 36 hours from a current time and every hour, then the future trajectory of the predicted weather future feedforward disturbance variable comprises all of the weather-related predictions generated by the first prediction stream over the next 6 hours from the current time in 5-minute timesteps, as well as those weather-related predictions generated by the second prediction stream over the period starting from 6 hours from the current time and endingwith 24 hours from the current time. In this example, the defined future trajectory timestamps of the predicted values described by the future trajectory may be in 5 -minute increments for the first 6 hours of the data covered by the future trajectory and in 1 -hour increments for the next 18 hours of the data covered by the future category.

[0073] In some embodiments, the future trajectory of a future feedforward disturbance variable is generated based at least in part on S prediction streams, where each prediction stream: (i) describes predicted future trajectory values over a respective temporal range that is associated with the prediction steam and in accordance with a respective prediction frequency associated with the prediction stream, and (ii) is associated with a reliability measure that describes how reliable predicted values described by the prediction stream are predicted to be (where the reliability measure of a prediction stream may be preconfigured, may be generated based at least in part on a historical reliability measure that describes how much historical predicted values of the prediction stream correspond to ground-truth values, and / or the like). In some of the noted embodiments, to generate the future trajectory of the future feedforward disturbance variable: (i) the S prediction streams are ranked in a descending order of reliability to generate a reliabilitybased ranking, (ii) a qualifying stream subset of the S prediction streams is generated to comprise a minimum number of prediction streams selected from top of the reliability-based ranking whose combined temporal range comprises the future trajectory temporal range of the future trajectory (where the future trajectory temporal range may be defined by a preconfigured value), and (iii) the future trajectory is generated based at least in part on the qualifying stream subset and in a manner that prioritizes integrating predicted future trajectory values of a more reliable prediction stream in the qualifying stream subset over the predicted future trajectory values of a less reliable prediction stream in the qualifying stream subset.

[0074] For example, if the future trajectory temporal range of a predicted weather future feedforward disturbance variable is the next 24 hours from the current time, and if the set of S = 4 prediction streams comprise: (i) a most reliable prediction stream that generates predicted weather values over the next 6 hours from the current time and every 5 minutes, (ii) a second-most reliable prediction stream that generates predicted weather values over the next 16 hours from the current time and every 10 minutes, (iii) a third-most reliable prediction stream that generates predicted weather values over the next 24 hours from the current time and every 30 minutes, and (iv) a fourth-most reliable prediction stream that generates predicted weather values over the next 36hours from the current time and every hour, then the qualifying stream subset may comprise the most reliable prediction stream, the second-most reliable prediction stream, and the third-most reliable prediction stream, because the combined temporal range (e.g., the union of all temporal ranges) of those three prediction streams covers (in this case, equals) the future trajectory temporal range of 24 hours from the current time. In this example, the future trajectory temporal range of the predicted weather future feedforward disturbance variable may comprise: (i) in the next 6 hours from the current time, the predicted weather values generated by the most reliable prediction stream in 5-minute increments, (ii) between 6 hours from the current time and 16 hours from the current time, the predicted weather values generated by the second-most reliable prediction stream in 10-minute increments, and (iii) between 16 hours from the current time and 24 hours from the current time, the predicted weather values generated by the third-most reliable prediction stream in 30-minute increments.

[0075] Embodiments may further include identifying a manipulated variable space for the plant operational controller 102. In some embodiments, the manipulated variable space for the plant operational controller describes all of the manipulated variables for the plant operational controller. As described above, correlations between the disturbance variable space and the manipulated variable space can be used to determine how a current operational condition / environment of the target plant should be manipulated to achieve / maintain a desired operational condition / environment for the target plant.

[0076] At step / operation 403, the controller management computing entity 106 builds, based at least in part on the future feed forward trajectory model, an operational control model (e.g., or an automated controller operational model). In some embodiments, the automated controller operational model can be generated or built based at least in part on the disturbance variable space and the manipulated variable space. In some embodiments, the controller management computing entity 106 generates the automated controller operational model by providing historical trajectories for both disturbance variables and manipulated variables to the adaptive process control software application computing entity 103 and via an adaptive process control software application, where the adaptive process control software application computing entity 103 is configured to generate the automated controller operational model based at least in part on the provided historical trajectories. In some embodiments, the controller management computing entity 106 generates the automated controller operational model by providing historical trajectories for both disturbancevariables and manipulated variables as well as a defined calibration measure to the adaptive process control software application computing entity 103 and via an adaptive process control software application, where the adaptive process control software application computing entity 103 is configured to generate the automated controller operational model based at least in part on the provided historical trajectories and the provided calibration measure. An example of an adaptive process control software application is a model-predictive, multi-variable advanced process control application.

[0077] In some embodiments, an automated controller operational model describes correlations between manipulated variables of an operational condition / environment of a target plant and control or target variables of the noted operational condition / environment. In some embodiments, an automated controller operational model describes, for each variable pair comprising a respective manipulated variable and a respective control or target variable space, an expected correlation model. For example, if the disturbance variable space of a plant operational controller comprises three manipulated variable and the control or target variable space of the plant operational controller comprises two control or target variables, then 3 * 2 = 6 expected correlation models may be generated, with the first expected correlation model describing correlation data for the variable pair comprising the first manipulated variable and the first control or target variable, the second expected correlation model describing correlation data for the variable pair comprising the second manipulated variable and the first control or target variable, the third expected correlation model describing correlation data for the variable pair comprising the third manipulated variable and the first control or target variable, a fourth expected correlation model describing correlation data for the variable pair comprising the first manipulated variable and the second control or target variable, a fifth expected correlation model describing correlation data for the variable pair comprising the second manipulated variable and the second control or target variable, and a sixth expected correlation model describing correlation data for the variable pair comprising the third manipulated variable and the second control or target variable.

[0078] It will be appreciated that an expected correlation models may describe a predicted change for a variable pair including a manipulated variable and a control or target variable, or a predicted change for a variable pair including a disturbance variable and a control or target variable. That is, both a manipulated variable and a disturbance variable may be independent variables that can influence the control or target (e.g., dependent) variables of the target facility.

[0079] In some embodiments, an expected correlation model describes, for each future correlation timestamp in a future correlation temporal range, a predicted change in the respective control or target variable for a particular variable pair at the future correlation timestamp that is predicted to result from a current defined-size change (e.g., a defined-size change at the current time, such as a unit-size change at the current time) in the respective manipulated variable for the variable pair. For example, if a manipulated variable describes a valve opening measure for a target valve and a control or target variable describes an operational speed of a target machine in a target plant, and further if the future correlation time range across which correlation between the noted manipulated variable and the noted control or target variable are modeled covers the next 24 hours from the current time, then the expected correlation model for the variable pair comprising the noted manipulated variable and the noted control or target variable may describe, at each defined timestamp of a set of defined timestamps in the next 24 hours from the current time (referred to herein as defined future correlation timestamps, such as at defined timestamps that are 5 minutes apart from each other), how much a defined-size change in the valve opening measure affects the operational speed measure. For example, in accordance with an exemplary expected correlation model for the described value pair, the defined-size change in the valve opening measure may be expected to have no effect on the operational speed measure in the next 5 minutes after current time, but then the operational speed may be expected to linearly increase as a result of the defined- size change in the valve opening measure for the next 55 minutes.

[0080] In some embodiments, given M control or target variables described by a control or target variable space, a future feedforward disturbance variable may be associated with M expected correlation models, with each expected correlation model describing how a defined-size change in the value of the future feedforward disturbance variable at a current time (e.g., for a predicted weather future feedforward disturbance variable, a defined-size change in the target weather measure, such as a defined-size change in a temperature measure at a current time) affects a control or target variable that is associated with the noted expected correlation model over the defined future correlation timestamps of the defined future correlation temporal range. For example, a particular expected correlation model that is associated with a variable pair comprising a predicted weather future feedforward disturbance variable and an operational speed control or target variable may describe how a defined-size change in the value of the predicted weather future feedforwarddisturbance variable at a current time affects the operational speed measure over the defined future correlation timestamps of the defined future correlation temporal range.

[0081] In some embodiments, generating the automated controller operational model comprises: (i) identifying a preexisting automated controller operational model that describes the expected correlation model for each variable pair that comprises a disturbance variable other than the future feedforward disturbance variable, (ii) for each particular variable pair that comprises the future feedforward disturbance variable, generating a future-trajectory-based expected correlation model as the expected correlation model for the particular variable pair, and (iii) generating the automated controller operational model by adding each future-trajectory-based expected correlation model to the preexisting automated controller operational model. In other words, in some embodiments, the expected correlation models for past trajectory disturbance variables are already defined by preexisting models, and the expected correlation models for future feedforward disturbance variables are added to the preexisting models in an isolated manner and without affecting the modeling architecture of the preexisting model that already integrates past trajectory disturbance variables.

[0082] At step / operation 404, the controller management computing entity 106 In some embodiments, generates, based at least in part on the operational control model, one or more operational control parameter adjustments for the facility. That is, in some embodiments, once generated, the automated controller operational model is used (e.g., by the adaptive process control software application computing entity 103) to perform adaptive process control by setting one or more controller parameters of the plant operational controller based at least in part on each disturbance variable trajectory and the automated controller operational model. In some embodiments, while disturbance variables trajectories describe observed or predicted values of disturbance values, the expected correlation models of the automated controller operational model describe how the disturbance variables trajectories can be used to predict manipulated variable trajectories resulting from the disturbance variables trajectories, as well as changes needed in disturbance variables trajectories in order to achieve desired / target manipulated variable trajectories. The predicted desired / target changes can then be used to set one or more controller parameters of the plant operational controller to cause desired changes in the operational condition / environment of the target plant. At step / operation 405, the controller managementcomputing entity 106 In some embodiments, executes, causes execution, or initiates performance of the one or more operational control parameter adjustments for the facility.

[0083] In some embodiments, the future trajectory temporal range and the future correlation temporal range describe a common temporal range, and the plurality of defined future trajectory timestamps and the plurality of defined future correlation timestamps describe a common plurality of future timestamps. In some embodiments, the future correlation temporal range and the plurality of defined future correlation timestamps are generated based at least in part on predefined configuration metadata for the plant operational controller, the future trajectory temporal range is generated based at least in part on the future correlation temporal range, and the plurality of defined future trajectory timestamps are generated based at least in part on the plurality of defined future correlation timestamps.

[0084] FIGs. 6A and 6B depict examples of ambient temperature and weather influenced variable predictions. In FIGs. 6A and 6B, for example, a key process variable (e.g., weather influenced variable in FIG. 6B) of a process facility or plant may be influence by ambient temperature (e.g., FIG. 6A). When ambient temperature and humidity are set as disturbance variables, flat predictions of the disturbance variables results in flat predictions of the weather influenced variable. Such flat predictions can be detrimental to facility operation as discussed above.

[0085] FIGs. 7A and 7B depict examples of ambient temperature and weather influenced variable predictions in accordance with some embodiments of the present disclosure. In FIGs. 7A, and 7B, it is observed that, by utilizing embodiments of the present disclosure (e.g., using future trajectories), the predictions of the ambient temperature are not flat, and therefore the weather influenced variable is accurately predicted, leading to the ability to adjust process control parameters and preserve facility operation.

[0086] FIGs. 8A and 8B depict comparisons of operational parameters and variables with and without example embodiments of the present disclosure. FIG. 8A depicts a weather front event for a reactor facility before utilizing embodiments of the present disclosure, and FIG. 8B depicts a weather front event for the reactor facility after utilizing embodiments of the present disclosure. It is observed that the product flow (e.g., “Y”) is significantly impacted in FIG. 8A by the weather event, while it is not so significantly impacted in FIG. 8B.

[0087] Examples of source code associated with embodiments herein are provided below.# UoM lookup table, make sure to add to this when adding new weather attributesSuomLookup = [Ordered] @{ dewpoint = "F" humidity = "%" precipitationintensity = "in / hr" precipitationProbability = "%" precipitationType = "Code" pressure SurfaceLevel = "mbar" temperature = "p" weatherCode = "Code" windGust = "mph" windSpeed = "mph" windDirection = "degrees" }SweatherCodeLookup = [Ordered] @{"0" = "Unknown"" 1000" = "Clear"" 1001" = "Cloudy"" 1100" = "Mostly Clear"" 1101" = "Partly Cloudy"" 1102" = "Mostly Cloudy""2000" = "Fog""2100" = "Light Fog""3000" = "Light Wind""3001" = "Wind""3002" = "Strong Wind""4000" = "Drizzle""4001" = "Rain""4200" = "Light Rain""4201" = "Heavy Rain""5000" = "Snow""5001" = "Flurries""5100" = "Light Snow""5101" = "Heavy Snow""6000" = "Freezing Drizzle""6001" = "Freezing Rain""6200" = "Light Freezing Rain""6201" = "Heavy Freezing Rain""7000" = "Ice Pellets""7101" = "Heavy Ice Pellets""7102" = "Light Ice Pellets""8000" = "Thunderstorm" }SrainTypeLookup = [Ordered] @{"0" = "N / A"" 1" = "Rain""2" = "Snow""3" = "Freezing Rain""4" = "Ice Pellets" }### Gets registry value function GetRegistryValue() {Param ([parameter(Mandatory = Strue)][string] SregistryName,[parameter(Mandatory = Strue)][string] SregistryPath )# log function nameLoginformation SMylnvocation.MyCommand.Name 1 "Yellow"# Log the pathLoginformation "Getting credentials from registry" 2Loginformation "Full registry path: $registryPath\$registryName" 2# Get the valueTry {$registryValue = (Get-ItemProperty -Path $registryPath -Name $registryName).$registryNameLoginformation "Get value successful" 2 }Catch {Loginformation "Get value failed" 1 "Red"Throw $_ } return $registryValue}### Converts certain attributes to correct uom; data should already be coming in as imperial from API call params function ConvertAttributeType() {Param([parameter(Mandatory = $true)]$piece }$MmToIn = {Param($var) return 0.03937008 * $var }$MpsToMph = {Param($var) return 2.23693629 * $var }$HpaToMbar = {Param($var) return $var }$getUom = {Param($var) if ($uomLookup.contains($var)) { $var = $uomLookup["$var"] } return $var }$factor = @{ pressure SurfaceLevel = { Param($var) return $HpaToMbar.Invoke($var) }; # comes as hPa }$val = $piece. Value$attribute = $piece.Nametry { if ($factor.Contains($attribute)) {$func = $factor[$attribute]$val = $func.Invoke($val) }$uom = $getUom.Invoke($attribute)$piece .Value = @{attValue = $val[O]; uom = $uom[0] }} catch {Loginformation "An error occurred converting uom for $attribute | $val " 1 "Red" } return $piece }### check if the script block had an error function CheckFailure() {Param([parameter(Mandatory = $true)][System. Management. Automation. Runspaces. PSSession]$Session)# get the response of the remote command... true means succeeded, false means failedSretumCode = Invoke-Command -Session SSession -ScriptBlock { $? }# if failed, fail the Automic job if (!$retumCode) {Throw }}### Write-Host with a timestamp function Loglnformation() {Param([parameter(Mandatory = Strue)][string]$message,[parameter(Mandatory = Sfalse)][int] Stabs = 0,[parameter(Mandatory = Sfalse)][string] Scolor = "White" )# get time stampStimeStamp = Get-Date -Format g# create base messageSbaseMessage = "Stimestamp# add appropiate number of tabsFor ($i = 0; $i -It $tabs; $i++) {$baseMessage += "'t"}# write to consoleWrite-Host "$baseMessage$message" -ForegroundColor $color }### Convert date time object to specified timezone in format function ConvertDateToStringO {Param ([parameter(Mandatory = $true)][string] $inputDate,[parameter(Mandatory = $false)][string] $zone = "UTC",[parameter(Mandatory = $false)][string] $dateFormat = "yyyy-MM-dd HH:mm:ss" ) try {$ts = ([DateTime]$inputDate).ToUniversalTime();$dateString = [TimeZonelnfo] ::ConvertTimeBySystemTimeZoneId($ts,$zone).ToString($dateFormat); } catch {Loginformation "An error occurred converting timestamp value into string format for $date" 1 "Yellow"$dateString = $date.ToString() } return $date String }### Gets data from Web API function CallWeatherAPI() {Param([parameter(Mandatory = $true)][string] SbaseUrl,[parameter(Mandatory = $true)][string] $webProxy,[parameter(Mandatory = $true)][string]$endpointName,[parameter(Mandatory = $true)][string] $apiKey,[parameter(Mandatory = $false)][string] Shtml Verb = "GET",[parameter(Mandatory = $false)][string] $params = $null,[parameter(Mandatory = $false)][object] $body = $null )$headers = New-Object "System. Collections. Generic. Dictionary[[String], [String]]"Sheaders . Add(" Content-Type " , " application / j son " )# log function nameLoginformation SMylnvocation.MyCommand.Name 1 "Yellow"# create url to get callSbaseUrl = $("{0} / {l }" -f SbaseUrl, SendpointName)Loginformation "SbaseUrl -Proxy SwebProxy" 2 "Yellow"$url = [System. UriBuilder]$baseUrl if (Sparams) {Suri. Query = Sparams. To String (); }Loginformation "URL: S(Surl.Uri)" 2 "Yellow"Loginformation "Invoking web service (SbaseUrl) for the (SendpointName) function" 2 "YelloTry {Sresponse = Invoke-WebRequest -Method ShtmlVerb -Uri Surl.Uri -Headers Sheaders - Body Sbody -Proxy SwebProxyLoginformation "Status Code: $($response. StatusCode)" 2 "Yellow"Loginformation "X-Correlation-ID: $($response.headers['x-correlation-id'])" 2 "Yellow"Loginformation "X-Request-IDS $($response.headers['x-request-ids'])" 2 "Yellow"Loginformation "Response length: $($response. Content. Length)" 2 "Yellow" if (Sresponse. StatusCode -eq '200') {$response= ConvertFrom-Json $response. Content} else {Loginformation "Response code is $($response. StatusCode), data will not be parsed." 2 "Red" } }Catch {Loginformation "An error occurred invoking $endpointName " 1 "Red"Throw $_ } return $response }### Cleans retrieved values function ProcessValues() {Param([parameter(Mandatory = $true)]$rawData,[parameter(Mandatory = $true)][int] $timeSpan,[parameter(Mandatory = $true)][string] $isoTimeZone,[parameter(Mandatory = $true)][object] $timeStep ) try {Loginformation "$($MyInvocation.MyCommand.Name)" 1 "Yellow"$predictionData = @()# Determine if the following is true for discarding hourly data later[bool] $discard6Hours = $false if ($timestep -like "*m*" -and $timestep -like "* lh*" -and $timeSpan -ge 6) {$discard6Hours = $true }# Loop through timelines and process data into comma delimited format for ($i = 0; $i -It $rawData.timelines. Count; $i++) {$timeline = $rawData.timelines[$i]$tempArray = @()$startTime = ConvertDateToString $timeline.startTime -zone $isoTimeZonefor (($j = 0) ; $j -le $timeline. intervals. count ; $j++) { $interval = $timeline. intervals [$j] foreach ($value in $interval. Values. PSObject. Properties) { if ($null -ne $value) {$futureTime = ConvertDateTo String Sinterval.startTime -zone SisoTimeZone Sattribute = Svalue.NameSattValue = Svalue . Value. attValue$uom = Svalue.Value.uom$step = ConvertToTime Suffix Stimeline .timestep $j Sresult = [ordered]@{ startTime = SstartTime timestamp = SfutureTime tag = $(".$attribute.$step") field = Sattribute value = SattValue uom = $uom step = Sstep time step = Stimeline .time step }StempArray += New-Object psobject -Property Sresult }}}StempArray = DiscardHourlyData StempArray Stimeline .time step $discard6Hours SstartTimeSpredictionData += StempArray } } catch {Loginformation "An error occurred processing forecast data for {Sattribute}" 1 "Red" Loginformation "$($valuePayload|ConvertTo-Json)" 1 "Red"Throw $_ } return SpredictionData } function DiscardHourlyDataQ {Param ([parameter(Mandatory = Strue)] Sarray,[parameter(Mandatory = $true)][string] $timeStep,[parameter(Mandatory = $true)][string] $discard,[parameter(Mandatory = $true)][string] $startTime )Loginformation "$($MyInvocation.MyCommand.Name) Timeline {$timeStep}, DiscardHourly Data {$discard}" 1 "Yellow" if ($timeStep -eq " Ih" -and $discard6Hours -eq $true) {$hold = New-Object System. Collections. ArrayList(, Sarray)# loop through and using the start time of the original predict time, delete everything +6 hrsSendTime = $(([DateTime]$startTime).AddHours(6)) for ($i = Shold. Count - 1; Si -ge 0 ; Si—) {Spiece = $hold[$i]Stime Stamp = Spiece. timestamp if ([DateTime]$timeStamp -le SendTime) {Sattribute = Spiece. fieldSvalue = Spiece. valueShold. RemoveAt(Si) }}$ array = Shold } return Sarray } function ConvertToTimeSuffix() {Param ([parameter(Mandatory = Strue)][string] Stimestep,[parameter(Mandatory = Strue)][int] Sinterval ) try {Sts = S(Stimestep) -replace S("[a-zA-z]")[int] SnbrTimeStep = [int]::Parse($ts)Sstep = 0if ($timestep -like "*m") {$step = $nbrTimeStep * $interval } elseif ($timestep -like "*h") {$step = $nbrTimeStep * 60 * $interval } elseif ($timestep -like "*d") {$step = $nbrTimeStep * 1440 * $interval }$hours = [Math]::floor($step / 60)$minutes = $step % 60$timeString = "{0}H{ l}" -f $hours.ToString().PadLeft(2, '0'),$minutes.ToString().PadLeft(2, '0') } catch {Loginformation "An error occurred converting steps into hhHmm format for $steps steps" 1 "Yellow"$time String = "bad_suffix"; } return $time String } function CleanPayloadQ {Param([parameter(Mandatory = Strue)]Spayload )Loginformation "$($MyInvocation.MyCommand.Name) Cleaning JSON payload" 1 "Yellow" try { foreach (Stimeline in Spayload.data.timelines) { foreach (Sinterval in Stimeline. intervals) { foreach (SintervalPiece in Sinterval.values.PSObject. Properties) { if (Snull -ne SintervalPiece) {SintervalPiece = ConvertAttributeType SintervalPiece } } } } } catch {Loginformation "An error occurred during $($MyInvocation.MyCommand.Name)" 1 "Red"Throw $_ } return Spayload }### Orchestrates data retrieval from web apifunction WeatherOrchestrator() {Param([parameter(Mandatory = $true)][string] $j sonPay loadPath,[parameter(Mandatory = $true)][string] $apiUrl,[parameter(Mandatory = $true)][string] $webProxy,[parameter(Mandatory = $true)][string] $apiKey,[parameter(Mandatory = $true)][string] $location,[parameter(Mandatory = $true)][string[]]$fields,[parameter(Mandatory = $true)][string] $timeZone,[parameter(Mandatory = $false)][string [] ] $time Step,[parameter(Mandatory = Sfalse)][int]$timeSpan )SpredictionData = @()Sparam = "apikey=$apiKey"# want date formats in Zulu / UTC format, so convert and round down to nearest 5 minutesScurrentDateTime = Get-DateScurrentDateTime = ScurrentDateTime. AddMinutes( - (ScurrentDateTime. Minute % 5))SpredictTime = ConvertDateTo String ScurrentDateTime -dateFormat $("yyyy-MM- ddTHH:mm:ssZ")SendTime = ConvertDateTo String S($currentDateTime.AddHours($timespan)) -dateFormat S("yyyy-MM-ddTHH:mm:ssZ")Try {Loginformation "$($MyInvocation.MyCommand.Name) {$apiUrl}, {$location}, {$fields}, {$timestep} {$timeSpan} " 1 "Yellow";$fieldsToJSON = $($fields | ConvertTo-Json -Compress) if ($time Step. Count -eq 1) {StimeStepToJSON = "[$($timeStep | ConvertTo-Json -Compress)]" } else {StimeStepToJSON = $($timeStep | ConvertTo-Json -Compress) }$body = "{' "location' "Slocation' ",' "fields' ":SfieldsToJSON,' "timesteps' ":$timeStepToJSON,'"endTime'":'"$endTime'",' "startTime' "SpredictTime' ",' "timezone' "StimeZone' ",'"units' " / "imperial'"}"Loginformation $body 1 "Yellow"# SpredictTime = Get-Date -UFormat "%Y-%m-%d %T"SpredictTime = ConvertDateTo String $(Get-Date) -zone SisoTimeZoneSresponse = CallWeatherAPI SapiUrl SwebProxy "timelines" SapiKey "POST" Sparam Sbody# clean the data if (Snull -ne Sresponse -and Sresponse.data.timelines. count -gt 0) {# Clean filthy imperial dataSpredictionData = CleanPayload Sresponse# Create the j son payload file and drop it on the serverSresponse | ConvertTo-Json -Depth 10 -Compress | Set-Content -Path SjsonPayloadPath# Back it upBackupPayload SjsonPayloadPath }}Catch {Loginformation "Getting data failed" 1 "Red"Loginformation $_ 1 "Red"Loginformation $(if ($_.InnerException) { $.InnerException } else { "No Inner Exception" }) 1 "Red"Throw $_ } return $predictionData} function IP210rche Strato r() {Param([parameter(Mandatory = $true)][string] $registryPath,[parameter(Mandatory = $true)][PSCustomObject]$payload,[parameter(Mandatory = $true)][string] $csvFilePath,[parameter(Mandatory = $true)][string] $sqlFilePath,[parameter(Mandatory = $true)][string]$sqlPlusExe,[parameter(Mandatory = $true)][int]$timeSpan,[parameter(Mandatory = $true)][string]$isoTimezone,[parameter(Mandatory = $true)][Object]$timeStep)Try {Loginformation "$($My Invocation. MyCommand. Name) {$registryPath}, {$ip21 Server}, {ScsvFilePath}" 1 "Yellow";# Process the data into csv format, based on the timestep for each timeline ScleanedData = ProcessValues Spayload.data StimeSpan SisoTimezone StimeStep Loginformation "Exporting as csv and triggering SQLPlus" 1 "Yellow" $ scriptblock = { param($cleanedData,$csvFilePath,$sqlFilePath,$sqlPlusExe)# Export as csv format, but save it on the remote server$cleanedData | ConvertTo-Csv -NoTypeinformation | Select-Object -Skip 1 | Set-Content -Path ScsvFilePath set-content ScsvFilePath ((get-content ScsvFilePath) -replace "")# Kick off sql plusGet-Content SsqlFilePath | & SsqlPlusExe / h=localhost }# Get credentials and set up new remote sessionSusemame = GetRegistryValue SregUsemame SregistryPathSpassword = GetRegistryValue SregPassword SregistryPathSencryptedPassword = ConvertTo-SecureString Spassword -AsPlainText -ForceScredentials = New-Object System. Management.Automation.PSCredential($usemame, SencryptedPassword)Ssession = New-PSSession -ComputerName $ip21Server -Credential Scredentials -ErrorAction StopCheckFailure -Session SsessionInvoke-Command -Session Ssession -ScriptBlock SscriptBlock -ArgumentList$cleanedData,$csvFilePath,$sqlFilePath,$sqlPlusExe}Catch {Loginformation "Inserting data into IP21 failed." 1 "Red"Loginformation $_ 1 "Red"Loginformation $(if ($_.InnerException) { S.InnerException } else { "No Inner Exception"}) 1 "Red"Throw $_} } class PIWebHelper {[string] SBaseUrl[string] SWeblD[psobject] SHeaders static [PIWebHelper]NewPIWebHelper([string] SbaseURL, [string] SweblD, [string] Sauth) {$new = [PIWebHelper] ::New()$new. BaseURL = SbaseURLSnew.WeblD = SweblD$new. Headers = @{"x-requested-with" = "message / http""Authorization" = "Basic $auth""Content-Type" = "application / json"} return $new}### Get a list of pi points[PSCustomObject]GetPIPoints([string] $filter) {$callUrl = $("{0} / dataservers / { l} / points{2}" -f $this.BaseUrl, $this.WebID, $filter)Loginformation "Getting PI Points with {$callUrl}" 1 "Yellow" return $this.Send("GET", $callUrl, $null) }### Create singular pi point[PSCustomObject]CreatePIPoint([string] $body) {$callUrl = $("{0} / dataservers / { l} / points" -f $this.BaseUrl, $this.WebID)Loginformation "Creating PI Points with {$callUrl} for {$body}" 1 "Yellow" return $this.Send("POST", $callUrl, $body) }### Create web ID of a singular point[string]GetPointWebID([string] $pointName) {# Get the new pi point's web ID so we can use it to update stuffShttpEncodedPointName = [uri]::EscapeDataString($pointName).Replace('[#]', '%23')$filter = "?nameFilter=$($httpEncodedPointName)&selectedfields=Items.WebID" return $($this.GetPIPoints($filter)). Items. WeblD}### Update point source for a singular pi point[PSCustomObject]UpdatePointSource([string]$webID, [string] $body) {$callUrl = $("{0} / points / { l} / atributes / pointsource" -f $this.BaseUrl, $webID)Loginformation "Updating PI Point source with {$callUrl} with {$body}" 1 "Yellow" return $this.Send("PUT", $callUrl, $body) }### Update a singular point values[PSCustomObject]WriteValues([string]$webID, [string] $body) {$callUrl = $("{0} / streams / { 1 [ / recorded" -f $this.BaseUrl, $webID)Loginformation "Updating PI Point value with {$callUrl}" 1 "Yellow" return $this.Send("POST", $callUrl, $body) }[PSCustomObject]Send([string] $action, [string] $callUrl, [string] $body) { $url = [System. UriBuilder]$callUrlLoginformation "URL: $($url.Uri)" 2 "Yellow" add-type using System. Net; using System. Security. Cryptography. X509Certificates; public class TrustAllCertsPolicy : ICertificatePolicy { public bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate,WebRequest request, int certificateProblem) { return true;}}SAllProtocols = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tlsl 1 ,Tls 12'[System.Net.ServicePointManager]::SecurityProtocol = SAllProtocols[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy if (Sbody. Length -gt 0) {$ response = Invoke-RestMethod -Method Saction -Uri Suri. Uri -Headers Sthis . Headers - Body Sbody} else {$ response = Invoke-RestMethod -Method Saction -Uri Suri. Uri -Headers Sthis. Headers } return Sresponse }}## Get current points function GetCurrentPoints() {Param([parameter(Mandatory = Strue)][PIWebHelper]$helper,[parameter(Mandatory = Strue)][string] Ssite Key )Loginformation $My Invocation. MyCommand.Name 1 "Yellow"Sfilter = S("?nameFilter=.{O}*&selectedfields=Items.Name;Items.WebID" -f SsiteKey)SexistingPoints = S($helper.GetPIPoints($filter)). ItemsLoginformation "Existing point count {$($existingPoints. Count)}" 1 "Yellow" return $existingPoints}## Builds out payload object with basic properties for each pi point function BuildPayloadQ {Param([parameter(Mandatory = $true)][PsObject]$payload,[parameter(Mandatory = $true)][PsObject]$siteKey)Loginformation $MyInvocation.MyCommand.Name 1 "Yellow"$payloadPoints = @() if ($null -ne $payload) {$sample = $payload.timelines[0].intervals[0]# Using the sample interval from payload, build basic properties for each potential pi point and add to array foreach ($value in $sample.Values.PSObject. Properties) {$result = [Ordered] @{Name = $(".{0 }.{ !}" -f $siteKey, $value.Name)Descriptor = $value.NameValue = $value. Value. attValueUOM = $value.Value.uom}$payloadPoints += New-Object psobject -Property $result}Loginformation "Payload Points: $($payloadPoints.Name -join ') Count:$($payloadPoints. Count)" 1 "Yellow"} else {Loginformation "Payload is empty" throw $_ } return $payloadPoints}## Compares list of existing points and payload points to output points that need to be created function ComparePoints() {Param([parameter(Mandatory = $true)][PsCustomObject]$payloadPoints,[parameter(Mandatory = $true)][AllowNullQ][PsCustomObject]$existingPoints)Loginformation $MyInvocation.MyCommand.Name 1 "Yellow"$pendingPoints = @()#compare existing and payload and determine if payload has points existing points doesn't have$pendingPoints = $payloadPoints.Name | ? { $existingPoints.Name -notcontains $_ }$payloadPoints = $payloadPoints | ? { $_.Name -in $pendingPoints }Loginformation "Pending points: {$($payloadPoints.Name -join ')} Count of new points{$($payloadPoints. Count)}" 1 "Yellow" return $payloadPoints} function CreateNewPoints() {Param([parameter(Mandatory = $true)][PIWebHelper]$helper,[parameter(Mandatory = $true)][AllowNull()][PSCustomObj ect] $newPoints,[parameter(Mandatory = $true)][AllowNull()][PSCustomObj ect] SexistingPoints)Loginformation "$($MyInvocation.MyCommand.Name)" 1 "Yellow"Loginformation "New points to be made: {$($newPoints.Name -joinCount: {$($newPoints. Count)}" 1 "Yellow"; if ($null -ne SnewPoints -and @($newPoints). Count -gt 0) {SlookupDataType = {Param(Stype) if ($null -ne $type) {switch -Wildcard ($type) {{ "double" -or "decimal" } { $type = "Float32"; break; }{ "int" } { $type = "Int32"; break; }}} return $type} foreach ($newPoint in $newPoints) { try {$body = [Ordered] @{Name = $newPoint.NamePointClass = "base"PointType = $($lookupDataType. Invoke($newPoint. Value. GetTypeQ. Name))Descriptor = $newPoint. DescriptorEngineeringUnits = $newPoint.UOMFuture = $true}$helper.CreatePIPoint($($body | ConvertTo-Json))$webID = $helper.GetPointWebID($newPoint.Name)$helper.UpdatePointSource($webID, { "" })$new = [Ordered] @{Webld = $webIDName = $newPoint.Name}$existingPoints += New-Object -Type PSObject -Property $new} catch {Loginformation "Failed to create new point for {$($newPoint.Name):$($_.Exception. Message)}" 1 "Red"}}} return $exi stingPoints | Where-Object { $null -ne $_.name }}## Loads body into the list of points to be updated from the payload function LoadPIValues() {Param([parameter(Mandatory = $true)][PIWebHelper]$helper,[parameter(Mandatory = $true)][PsObj ect] $payload,[parameter(Mandatory = $true)][P s Obj ect] $ exi stingPo ints ,[parameter(Mandatory = $true)][string] Ssite Key)Loginformation "$($MyInvocation.MyCommand.Name) {$siteKey}" 1 "Yellow";$existingPoints | Add-Member -NotePropertyName Items -NotePropertyValue @()Loginformation "Existing Points: $($payloadPoints.Name -join ') Count:$($payloadPoints. Count)" 1 "Yellow" if ($null -ne $payload.timelines) {# Iterate through the timeline intervals and add to correct webld / pi point foreach ($timeline in $payload.timelines) { foreach ($interval in $timeline. intervals) { foreach ($piece in $interval. Values. PsObject. Properties) { try { if ($null -ne $piece) {$body = [Ordered] @{Timestamp = $($interval.startTime)Value = $piece. Value. attValue}$pointName = $(".{0 } .{ !}" -f $siteKey, $piece.Name)$($existingPoints | Where-Object { $_.Name -eq $pointName }). Items += $body}} catch {Loginformation "Failed to load body for {$($piece.Name):$($_.Exception. Message)}" 1 "Red"}}}} } return $existingPoints | Where-Object { $null -ne $_.name }} function WritePIValues() {Param([parameter(Mandatory = $true)][PIWebHelper]$helper,[parameter(Mandatory = $true)][PsObject]$existingPoints)Loginformation "$($MyInvocation.MyCommand.Name)" 1 "Yellow"; try {# Iterate through the pi points and update the values foreach ($piPoint in $existingPoints) { if ($piPoint. Items. Count -gt 0) {$pointName = $piPoint.NameLoginformation "Writing values for {$pointName} with {$($piPoint. Items. Count)} values" 1 "Yellow"$piJSON = $($piPoint. Items) | ConvertTo-Json$helper.WriteValues($piPoint.WebId, $piJSON) } else {Loginformation "$($piPoint.Name) does not have any items" 1 "Yellow"} }} catch {Loginformation $(if ($_.InnerException) { $_.InnerException } else { "No InnerException" }) 1 "Red"Throw $_} } function PIOrchestratorQ {Param([parameter(Mandatory = $true)][string] $baseURL,[parameter(Mandatory = $true)][string] $auth,[parameter(Mandatory = $true)][string]$piWebID,[parameter(Mandatory = $true)][PSCustomObject]$jsonPayload,[parameter(Mandatory = $true)][string] Ssite Key )Loginformation "$($MyInvocation.MyCommand.Name) {$siteKey}, {$baseURL}" 1 "Yellow";try {[PIWebHelper] $helper = [PIWebHelper]::NewPIWebHelper($baseURL, $piWebID, $auth)$payload = $payload.data if ($payload.timelines. Count -gt 0) {$existingPoints = @()$newPoints = @()$existingPoints = GetCurrentPoints $helper $siteKey$payloadPoints = BuildPayload $payload $siteKey$newPoints = ComparePoints $payloadPoints $existingPoints$existingPoints = CreateNewPoints $helper $newPoints $exi stingPoints$existingPoints = LoadPIValues $helper $payload $existingPoints $siteKeyWritePIValues $helper $existingPoints } } catch {Loginformation $(if ($_.InnerException) { $_.InnerException } else { "No InnerException" }) 1 "Red"Throw $_} } function BackupPayloadQ {Param([parameter(Mandatory = $true)]$payloadPath )Loginformation "$($MyInvocation.MyCommand.Name) {$payloadPath}" 1 "Yellow";SbackupFileName = "payload_{0}.json" -f $(Get-Date).ToString("yyyMMddTHHmmss")SbackupDirPath = Split-Path -Path SpayloadPathSbackupFullPath = "{0}\{ l}" -f SbackupDirPath, SbackupFileNameCopy-Item SpayloadPath -Destination SbackupFullPathLoginformation "Backup file {SbackupFileName} created." 1 "Yellow"}# VarsSapiKey = "XXXX";SbaseURL = "XXXX";SwebProxy = "XXXX";# Site Specific dataSlocation = "XXXX";Sfields =@("humidity", "precipitationType", "precipitationintensity ", "precipitationProbability", "pressures urfaceLevel", "temperature", "weatherCode", "windGust", "windSpeed", "dewPoint", "windDirection ");StimeStep = @("5m", " lh"); #can have multiple time stepsStimeSpan = 72; #timespan should be in numeric HOURSStimeZone = "US / Central"SisoTimeZone = "Central Standard Time"SregistryPath = "XXXX"# File outputsSjsonPayloadPath = "XXXX"ScsvFilePath = "XXXX"SsqlFilePath = "XXXX"SsqlPlusExe = "XXXX"#IP21 Server params$ip21 Server = "XXXX"SregUsemame = "XXXX"SregPassword = "XXXX"# PI params$key = $("HCP" -replace ("[Aa-zA-Z0-9A]", ""))SpiBaseURL = "XXXX"SpiPassword = 'XXXXX'SpiWeblD = ’XXXXX’# Get forecast data from orchestratorSpayload = WeatherOrchestrator SjsonPayloadPath SbaseURL SwebProxy SapiKey Slocation$ fields StimeZone Stimestep StimeSpan# Push data to IP21IP21 Orchestrator SregistryPath Spayload ScsvFilePath SsqlFilePath SsqlPlusExe StimeSpan SisoTimeZone StimeStep# Push data to HCP PiPlOrchestrator $piBaseURL $piPassword $piWebID $payload $keyConclusion

[0088] Many modifications and other embodiments will come to mind to one skilled in the art to which this disclosure pertains having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. Therefore, it is to be understood that the disclosure is not to be limited to the specific embodiments disclosed and that modifications and other embodiments are intended to be included within the scope of the appended claims. Although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.

Claims

CLAIMS1. An apparatus for performing adaptive process control for a facility, the apparatus comprising at least one processor and at least one memory including program code, the at least one memory and the program code configured to, with the processor, cause the apparatus to: transform a disturbance variable predictive model into a future feed forward trajectory model, wherein (i) the disturbance variable predictive model comprises (a) a first plurality of defined future trajectory timestamps in a first future trajectory temporal range of a first future trajectory, and (b) a predicted future trajectory value of a disturbance variable for each of the first plurality of defined future trajectory timestamps, (ii) the future feed forward trajectory model comprises (a) a second plurality of defined future trajectory timestamps in a second future trajectory temporal range of a second future trajectory, and (b) a predicted future trajectory value for the disturbance variable for each of the second plurality of defined future trajectory timestamps, (iii) the second future trajectory occurs after the first future trajectory; based at least in part on the future feed forward trajectory model, build an operational control model; and based at least in part on the operational control model, generate one or more operational control parameter adjustments for the facility.

2. The apparatus of claim 1 , wherein the facility is one of a refinery, a plant, a steam system, a cooling tower, a utilities system, a distillation tower, an air mover, or a process system.

3. The apparatus of claim 1, wherein the disturbance variable predictive model is associated with weather predictions or predictions of local weather conditions.

4. The apparatus of claim 1 , wherein the at least one memory includes program code that, with the processor, further cause the apparatus to: retrieve or receive the disturbance variable predictive model.

5. The apparatus of claim 1, wherein the disturbance variable predictive model is received or retrieved according to a defined cadence.

6. The apparatus of claim 5, wherein the defined cadence is in a range of 1-5 minutes.

7. The apparatus of claim 1 , wherein the at least one memory includes program code that, with the processor, further cause the apparatus to: cause automatic execution or initiate performance of the one or more operational control parameter adjustments.

8. The apparatus of claim 1, wherein an operational control parameter adjustment comprises an optimal control parameter setting, a start timestamp, and an end timestamp.

9. The apparatus of claim 1, wherein the first future trajectory is in a range of approximately 0-6 hours.

10. The apparatus of claim 1, wherein the second future trajectory is in a range of approximately 6-72 hours.

11. The apparatus of claim 1 , wherein the future feed forward trajectory model comprises a plurality of points.

12. The apparatus of claim 11, wherein each point of the plurality of points is individually bound.

13. The apparatus of claim 1, wherein the disturbance variable predictive model is generated based at least in part on one or more of sensor data, weather station data, or satellite data.

14. The apparatus of claim 1, wherein the disturbance variable is one of rainfall, temperature, humidity, pressure, flow, level, density, composition, wind speed, wind direction, precipitation rate, precipitation type, or conductivity.

15. A computer-implemented method performing operations in accordance with any of claims 1-14.

16. A computer program product comprising a non-transitory computer-readable storage medium storing instructions that, when executed by at least one processor of an apparatus, cause the apparatus to perform operations in accordance with any of claims 1-14.

Citation Information

Patent Citations

  • Approach and system for handling constraints for measured disturbances with uncertain preview

    JP2016154005A

  • Adaptive multivariable process controller using model switching and attribute interpolation

    US20050149209A1

  • Real-time monitoring and control of physical and arousal status of individual organisms

    US20090312998A1

  • Adaptive feedback / feedforward PID controller

    US6577908B1

  • Internet of things system

    WO2023030513A1

Cited By

  • PID (Proportion Integration Differentiation) control system real-time reliability prediction and self-adaptive maintenance method and system, electronic equipment and program product

    CN121432848A