Efforts are underway in the oil and gas industry to improve operations efficiency and cost through drilling systems automation. Recently, there has been a convergence of several technologies such as modeling algorithms, artificial intelligence and Internet of Things. This has created an opportunity to use models for design and testing of equipment. Combining physics-based models with data driven modeling techniques enables quicker overall product development time of rig systems as well as flexibility in optimizing the design parameters. These are also key to the concept of 'digital twins.'
This video series explores drilling systems modeling, with a focus on surface equipment including the drawworks, top drive, and mud pumps. We will demonstrate the following elements:
Part 1: Introduction to digital twins Use MATLAB & Simulink to build physics-based models of surface drilling equipment for digital twin applications and drilling systems automation.
Part 2: Introduction to Simulink and Simscape Simulink and Simscape are introduced by modeling the drawworks and mass assembly. SOLIDWORKS assemblies are imported into Simulink. Simscape Electrical is introduced by modeling in the electrical domain.
Part 3: Validating model with field data A digital twin of the surface drilling equipment is built by callibrating the models to field data.
Part 4: Using simulation to optimize system performance An optimized lookup table is built to allow operators to control the drawworks at the maximum speed given operational constraints. This is incorporated into the control logic to ensure operator limits.
Part 5: Supervisory logic design Auto driller logic is built that senses the mass & current position of the top drive and adjusts the motor speed setpoint dynamically. State-based supervisory control logic is built with Stateflow.
Part 6: Logic verification and testing Testing, verification and validation is performed for the drawworks control logic using formal methods. Test cases are generated at the click of a button and modeling errors are discovered.
Part 7: PLC code generation PLC code is generated for the controller and C++ code is generated for the model at the click of a button. Later, this is used for real time testing.
Part 8: Real-time testing: HIL simulation Risk-free testing and virtual drilling is performed with HIL simulations. The control algorithm is deployed on a PLC and the environment model is deployed on a real-time target machine.
Part 9: PLC ladder diagram import Legacy PLC code is imported into Simulink for testing and validation purposes.