Разработка регулятора синхронного компенсатора

Дипломная работа - Физика

Другие дипломы по предмету Физика

quot;, М., "Энергоиздат", 1981г

.Беркович М.А. "Автоматика энергосистем", М., "Энергоатомиздат", М., 1991г

.Соловьев И.Н. "Автоматические регуляторы синхронных генераторов", М., " Энергоатомиздат", 1981г

.Гонин Я.Е. "Автоматика ликвидации асинхронного режима", М., "Энергоатомиздат", 1988г

.Овчаренко Н.И. "Автоматика электрических станций и энергетических систем", М., "Издательство НЦ ЭПАС", 2000г

.Копылов И.П. "Математическое моделирование электрических машин", М., "Высшая школа", 2001г

.Яблонский А.А. "Курс теоретической механики", М., "Высшая школа", 1996г

.Цыпкин Я.З. "Основы теории автоматических систем", М., "Наука", 1977г

16.Общие технические требования к управляющим подсистемам агрегатного и станционного уровней АСУ ТП ЭС

РД 153-34.0-35.519-98

.Ю.В.Брусницын, А.Н.Гармаш. Учебно - методическое пособие по курсу "Технико-экономическое проектирование". Таганрог, ТРТУ, 1998г. 35 с.

.В.С. Компаниец, Руководство к выполнению раздела "БЕЗОПАСНОСТЬ И ЭКОЛОГИЧНОСТЬ" в дипломных работах (проектах)

 

 

ПРИЛОЖЕНИЕ 1

 

Листинг программы "compensator"

function varargout = compensator(varargin)

% COMPENSATOR M-file for compensator.fig

% COMPENSATOR, by itself, creates a new COMPENSATOR or raises the existing

% singleton*.

%

% H = COMPENSATOR returns the handle to a new COMPENSATOR or the handle to

% the existing singleton*.

%

% COMPENSATOR('CALLBACK',hObject,eventData,handles,...) calls the local

% function named CALLBACK in COMPENSATOR.M with the given input arguments.

%

% COMPENSATOR('Property','Value',...) creates a new COMPENSATOR or raises

% the existing singleton*. Starting from the left, property value pairs are

% applied to the GUI before compensator_OpeningFcn gets called. An

% unrecognized property name or invalid value makes property application

% stop. All inputs are passed to compensator_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 compensator

% Last Modified by GUIDE v2.5 14-Dec-2011 11:46:09

% Begin initialization code - DO NOT EDIT_Singleton = 1;_State = struct('gui_Name', mfilename, ...

'gui_Singleton', gui_Singleton, ...

'gui_OpeningFcn', @compensator_OpeningFcn, ...

'gui_OutputFcn', @compensator_OutputFcn, ...

'gui_LayoutFcn', [] , ...

'gui_Callback', []);nargin && ischar(varargin{1})_State.gui_Callback = str2func(varargin{1});nargout

[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});_mainfcn(gui_State, varargin{:});

% End initialization code - DO NOT EDIT

% --- Executes just before compensator is made visible.compensator_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 compensator (see VARARGIN)

% Choose default command line output for compensator.output = hObject;

% Update handles structure(hObject, handles);_gui(hObject, handles, false);

% UIWAIT makes compensator wait for user response (see UIRESUME)

% uiwait(handles.figure1);

% --- Outputs from this function are returned to the command line.varargout = compensator_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{1} = handles.output;

% --- Executes during object creation, after setting all properties.density_CreateFcn(hObject, eventdata, handles)

% hObject handle to density (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles empty - handles not created until after all CreateFcns called

% Hint: popupmenu controls usually have a white background on Windows.

% See ISPC and COMPUTER.ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))(hObject,'BackgroundColor','white');density_Callback(hObject, eventdata, handles)

% hObject handle to density (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 density as text

% str2double(get(hObject,'String')) returns contents of density as a double= str2double(get(hObject, 'String'));isnan(density)(hObject, 'String', 0);('Input must be a number','Error');

% Save the new density value.metricdata.density = density;(hObject,handles)

% --- Executes during object creation, after setting all properties.volume_CreateFcn(hObject, eventdata, handles)

% hObject handle to volume (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles empty - handles not created until after all CreateFcns called

% Hint: popupmenu controls usually have a white background on Windows.

% See ISPC and COMPUTER.ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))(hObject,'BackgroundColor','white');volume_Callback(hObject, eventdata, handles)

% hObject handle to volume (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 volume as text

% str2double(get(hObject,'String')) returns contents of volume as a double= str2double(get(hObject, 'String'));isnan(volume)(hObject, 'String', 0);('Input must be a number','Error');

% Save the new volume value.metricdata.volume = volume;(hObject,handles)

% --- Executes on button press in calculate.calculate_Callback(hObject, eventdata, handles)

% hObject handle to calculate (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)= handles.metricdata.density * handles.metricdata.volume;(handles.mass, 'String', mass);

% --- Executes on button press in reset.reset_Callback(hObject, eventdata, handles)

% hObject handle to reset (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)_gui(gcbf, handles, true);

% --- Executes when selected object changed in unitgroup.unitgroup_SelectionChangeFcn(hObject, eventdata, handles)

% hObject handle to the selected object in unitgroup

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)(hObject == handles.english)(handles.text4, 'String', 'lb/cu.in');(handles.text5, 'String', 'cu.in');(handles.text6, 'String', 'lb');(handles.text4, 'String', 'kg/cu.m');(handles.text5, 'String', 'cu.m');(handles.text6, 'String', 'kg');

% --------------------------------------------------------------------initialize_gui(fig_handle, handles, isreset)

% If the metricdata field is present and the reset flag is false, it means

% we are we are just re-initializing a GUI by calling it from the cmd line

% while it is up. So, bail out as we dont want to reset the data.isfield(handles, 'metricdata') && ~isreset;.metricdata.density = 0;.metricdata.volume = 0;(handles.density, 'String', handles.metricdata.density);(handles.volume, 'String', handles.metricdata.volume);(handles.mass, 'String', 0);(handles.unitgroup, 'SelectedObject', handles.english);(handles.text4, 'String', 'lb/cu.in');(handles.text5, 'String', 'cu.in');(handles.text6, 'String', 'lb');

% Update handles structure(handles.figure1, handles);

% --- Executes on button press in pushbutton9.pushbutton9_Callback(hObject, eventdata, handles)

% hObject handle to pushbutton9 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

% --- Executes on selection change in listbox4.listbox4_Callback(hObject, eventdata, handles)

% hObject handle to listbox4 (see GCBO)

% eventdata reserved - to be defined in a future