本文主要是介绍基于MATLAB模拟预测管道中的蜡沉积,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
智能优化算法 神经网络预测 雷达通信 无线传感器 电力系统
信号处理 图像处理 路径规划 元胞自动机 无人机
⛄ 内容介绍
当原油输送管道中发生蜡沉积现象时,管道流通半径减小,输送能力降低,严重时会造成蜡堵事故.研究发现,蜡沉积会发生老化现象,即沉积层中蜡分子的扩散与非蜡分子的反扩散,致使沉积层中蜡含量持续增大,而含油量逐步降低的现象,这会导致沉积层硬度的增大,直接加剧清管的难度.探讨蜡沉积老化规律,有助于了解管道中沉积物含蜡量变化情况.沉积物含蜡量对于沉积蜡抗剪切力的变化有重要影响.
⛄ 部分代码
function varargout = WAXMODEL_GUI2(varargin)
% WAXMODEL_GUI2 MATLAB code for WAXMODEL_GUI2.fig
% WAXMODEL_GUI2, by itself, creates a new WAXMODEL_GUI2 or raises the existing
% singleton*.
%
% H = WAXMODEL_GUI2 returns the handle to a new WAXMODEL_GUI2 or the handle to
% the existing singleton*.
%
% WAXMODEL_GUI2('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in WAXMODEL_GUI2.M with the given input arguments.
%
% WAXMODEL_GUI2('Property','Value',...) creates a new WAXMODEL_GUI2 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before WAXMODEL_GUI2_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to WAXMODEL_GUI2_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help WAXMODEL_GUI2
% Last Modified by GUIDE v2.5 25-Sep-2016 10:22:16
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @WAXMODEL_GUI2_OpeningFcn, ...
'gui_OutputFcn', @WAXMODEL_GUI2_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before WAXMODEL_GUI2 is made visible.
function WAXMODEL_GUI2_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to WAXMODEL_GUI2 (see VARARGIN)
% Choose default command line output for WAXMODEL_GUI2
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes WAXMODEL_GUI2 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = WAXMODEL_GUI2_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes on button press in plot1.
function plot1_Callback(hObject, eventdata, handles)
% hObject handle to plot1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)ouble(get(hObject,'String')) returns contents of c2 as a double
% --- Executes during object creation, after setting all properties.
function c2_CreateFcn(hObject, eventdata, handles)
% hObject handle to c2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function c3_Callback(hObject, eventdata, handles)
% hObject handle to c3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of c3 as text
% str2double(get(hObject,'String')) returns contents of c3 as a double
% --- Executes during object creation, after setting all properties.
function c3_CreateFcn(hObject, eventdata, handles)
% hObject handle to c3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
⛄ 运行结果
⛄ 参考文献
[1] 叶兵, 喻西崇, 彭伟,等. 海洋深水海底含蜡原油管道中蜡沉积预测和清管模拟[J]. 中国石油大学学报:自然科学版, 2019, 43(3):8.
[2] 左果. 含蜡热油管道系统工作特性研究[D]. 西南石油大学.
[3] 王芳. 含蜡原油管道蜡沉积老化规律研究[D]. 西南石油大学, 2017.
[4] 敬加强, 杨梅, 刘霞,等. 基于热油管道结蜡不均匀性的蜡沉积厚度预测[J]. 油气田地面工程, 2013(07):40-41.
[5] 樊成洋, 王庆军, 付智豪. 基于灰色模型的原油管道蜡沉积速率预测[J]. 山东化工, 2022(051-005).
⛳️ 完整代码
❤️部分理论引用网络文献,若有侵权联系博主删除
❤️ 关注我领取海量matlab电子书和数学建模资料
这篇关于基于MATLAB模拟预测管道中的蜡沉积的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!