基于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电子书和数学建模资料

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

matlab科研助手

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值