Home > matpower7.1 > lib > have_feature_smartmarket.m

have_feature_smartmarket

PURPOSE ^

HAVE_FEATURE_SMARTMARKET Detect availability/version info for SMARTMARKET

SYNOPSIS ^

function [TorF, vstr, rdate] = have_feature_smartmarket()

DESCRIPTION ^

HAVE_FEATURE_SMARTMARKET  Detect availability/version info for SMARTMARKET

   Feature detection function implementing 'smartmarket' tag for HAVE_FEATURE
   to detect availability/version of RUNMARKET and related files for running
   an energy auction, found under smartmarket in MATPOWER Extras.
   (https://github.com/MATPOWER/matpower-extras/).

   See also HAVE_FEATURE, RUNMARKET.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [TorF, vstr, rdate] = have_feature_smartmarket()
0002 %HAVE_FEATURE_SMARTMARKET  Detect availability/version info for SMARTMARKET
0003 %
0004 %   Feature detection function implementing 'smartmarket' tag for HAVE_FEATURE
0005 %   to detect availability/version of RUNMARKET and related files for running
0006 %   an energy auction, found under smartmarket in MATPOWER Extras.
0007 %   (https://github.com/MATPOWER/matpower-extras/).
0008 %
0009 %   See also HAVE_FEATURE, RUNMARKET.
0010 
0011 %   MATPOWER
0012 %   Copyright (c) 2004-2020, Power Systems Engineering Research Center (PSERC)
0013 %   by Ray Zimmerman, PSERC Cornell
0014 %
0015 %   This file is part of MATPOWER.
0016 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0017 %   See https://matpower.org for more info.
0018 
0019 TorF = exist('runmarket', 'file') == 2;
0020 if TorF
0021     v = mpver('all');
0022     vstr = v.Version;
0023     rdate = v.Date;
0024 else
0025     vstr = '';
0026     rdate = '';
0027 end

Generated on Fri 09-Oct-2020 11:21:31 by m2html © 2005