91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3.4MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-11
  • 語言: Matlab
  • 標簽: matpower4.1??

資源簡介

很好的潮流計算matlab程序包,4.1版本,可以適用于大部分版本的matlab,程序簡單好操作

資源截圖

代碼片段和文件信息

function?mpc?=?add_userfcn(mpc?stage?fcn?args?allow_multiple)
%ADD_USERFCN???Appends?a?userfcn?to?the?list?to?be?called?for?a?case.
%
%???MPC?=?ADD_USERFCN(MPC?STAGE?FCN)
%???MPC?=?ADD_USERFCN(MPC?STAGE?FCN?ARGS)
%???MPC?=?ADD_USERFCN(MPC?STAGE?FCN?ARGS?ALLOW_MULTIPLE)
%
%???A?userfcn?is?a?callback?function?that?can?be?called?automatically?by
%???MATPOWER?at?one?of?various?stages?in?a?simulation.
%
%???MPC???:?the?case?struct
%???STAGE?:?the?name?of?the?stage?at?which?this?function?should?be
%???????????called:?ext2int?formulation?int2ext?printpf
%???FCN???:?the?name?of?the?userfcn
%???ARGS??:?(optional)?the?value?to?be?passed?as?an?argument?to?the
%???????????userfcn?(typically?a?struct)
%???ALLOW_MULTIPLE?:?(optional)?if?TRUE?allows?the?same?function?to
%??????????be?added?more?than?once.
%
%???Currently?there?are?5?different?callback?stages?defined.?Each?stage?has
%???a?name?and?by?convention?the?name?of?a?user-defined?callback?function
%???ends?with?the?name?of?the?stage.?The?following?is?a?description?of?each
%???stage?when?it?is?called?and?the?input?and?output?arguments?which?vary
%???depending?on?the?stage.?The?reserves?example?(see?RUNOPF_W_RES)?is?used
%???to?illustrate?how?these?callback?userfcns?might?be?used.
%
%???1.?ext2int
%
%???Called?from?EXT2INT?immediately?after?the?case?is?converted?from
%???external?to?internal?indexing.?Inputs?are?a?MATPOWER?case?struct?(MPC)
%???freshly?converted?to?internal?indexing?and?any?(optional)?ARGS?value
%???supplied?via?ADD_USERFCN.?Output?is?the?(presumably?updated)?MPC.?This?is
%???typically?used?to?reorder?any?input?arguments?that?may?be?needed?in
%???internal?ordering?by?the?formulation?stage.
%
%???E.g.?mpc?=?userfcn_reserves_ext2int(mpc?args)
%
%???2.?formulation
%
%???Called?from?OPF?after?the?OPF?Model?(OM)?object?has?been?initialized
%???with?the?standard?OPF?formulation?but?before?calling?the?solver.?Inputs
%???are?the?OM?object?and?any?(optional)?ARGS?supplied?via?ADD_USERFCN.
%???Output?is?the?OM?object.?This?is?the?ideal?place?to?add?any?additional
%???vars?constraints?or?costs?to?the?OPF?formulation.
%
%???E.g.?om?=?userfcn_reserves_formulation(om?args)
%
%???3.?int2ext
%
%???Called?from?INT2EXT?immediately?before?the?resulting?case?is?converted
%???from?internal?back?to?external?indexing.?Inputs?are?the?RESULTS?struct
%???and?any?(optional)?ARGS?supplied?via?ADD_USERFCN.?Output?is?the?RESULTS
%???struct.?This?is?typically?used?to?convert?any?results?to?external
%???indexing?and?populate?any?corresponding?fields?in?the?RESULTS?struct.
%
%???E.g.?results?=?userfcn_reserves_int2ext(results?args)
%
%???4.?printpf
%
%???Called?from?PRINTPF?after?the?pretty-printing?of?the?standard?OPF
%???output.?Inputs?are?the?RESULTS?struct?the?file?descriptor?to?write?to
%???a?MATPOWER?options?vector?and?any?(optional)?ARGS?supplied?via
%???ADD_USERFCN.?Output?is?the?RESULTS?struct.?This?is?typically?used?for
%???any?additional?pretty-printing?of?results.
%
%???E.g.?result

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-09-03?09:00??matpower4.1\
?????目錄???????????0??2014-09-03?09:00??matpower4.1\@opf_model\
?????文件????????4745??2010-06-09?22:56??matpower4.1\@opf_model\add_constraints.m
?????文件????????5694??2010-04-27?03:45??matpower4.1\@opf_model\add_costs.m
?????文件????????3076??2010-04-27?03:45??matpower4.1\@opf_model\add_vars.m
?????文件????????4368??2011-12-02?01:03??matpower4.1\@opf_model\build_cost_params.m
?????文件????????4061??2011-12-02?01:03??matpower4.1\@opf_model\compute_cost.m
?????文件????????3959??2010-04-27?03:45??matpower4.1\@opf_model\display.m
?????文件????????1657??2010-04-27?03:45??matpower4.1\@opf_model\get.m
?????文件????????2405??2010-06-09?22:56??matpower4.1\@opf_model\getN.m
?????文件????????2740??2011-12-02?01:03??matpower4.1\@opf_model\get_cost_params.m
?????文件????????3012??2010-06-09?22:56??matpower4.1\@opf_model\get_idx.m
?????文件????????1450??2010-04-27?03:45??matpower4.1\@opf_model\get_mpc.m
?????文件????????2221??2010-04-27?03:45??matpower4.1\@opf_model\getv.m
?????文件????????2945??2010-04-27?03:45??matpower4.1\@opf_model\linear_constraints.m
?????文件????????8294??2010-06-09?22:56??matpower4.1\@opf_model\opf_model.m
?????文件????????2149??2010-05-05?02:44??matpower4.1\@opf_model\userdata.m
?????文件???????35147??2010-04-19?22:40??matpower4.1\COPYING
?????文件????????1687??2011-12-15?01:07??matpower4.1\Contents.m
?????文件????????2144??2010-04-27?03:45??matpower4.1\LICENSE
?????文件???????11339??2010-04-27?03:45??matpower4.1\LPconstr.m
?????文件????????3963??2010-04-27?03:45??matpower4.1\LPeqslvr.m
?????文件????????3073??2010-11-23?22:34??matpower4.1\LPrelax.m
?????文件????????4509??2011-11-12?00:09??matpower4.1\LPsetup.m
?????文件???????12159??2011-12-15?01:07??matpower4.1\README
?????文件???????12476??2011-12-15?01:07??matpower4.1\README.txt
?????文件????????6175??2010-04-27?03:45??matpower4.1\add_userfcn.m
?????文件????????2998??2010-04-27?03:45??matpower4.1\bustypes.m
?????文件???????32633??2010-03-11?02:08??matpower4.1\case118.m
?????文件????????4521??2010-03-11?02:08??matpower4.1\case14.m
?????文件??????340794??2010-03-11?02:08??matpower4.1\case2383wp.m
............此處省略245個文件信息

評論

共有 條評論

相關資源