CMG软件Results Report.docx
- 文档编号:12524769
- 上传时间:2023-06-06
- 格式:DOCX
- 页数:18
- 大小:22.11KB
CMG软件Results Report.docx
《CMG软件Results Report.docx》由会员分享,可在线阅读,更多相关《CMG软件Results Report.docx(18页珍藏版)》请在冰点文库上搜索。
CMG软件ResultsReport
1HowtoRunResultsReport
BeforerunningResultsReport,itisfirstnecessarytocreateaResultsReportcommandfile. Thecommandfileisakeywordinputfile,similarinmanyrespectstothesimulatorkeywordinputfiles. Thismanualdescribesthekeywordsthatareusedtocontrolreportoutput.
SeveralsampleResultsReportcommandfilesmaybefoundinthetemplatedirectory$CMG_HOME/results/2002.10/tpl/(thelocationof$CMG_HOMEwillvarydependingonwheretheCMGsoftwarewasinstalledonyoursystemornetwork). Afteryouhavemodifiedoneofthetemplatecommandfilestosuityourneeds,youmayrunResultsReportinoneofthefollowingmanners.
1.1 RunningfromtheCMGTechnologiesLauncher
IfyousuccessfullyusedtheCMGinstallscripttoinstallCMGsoftware(Version95andlater)onyourcomputersystem,youshouldbeabletoruntheCMGTechnologieslauncheronyourcomputersystem.
ForMS-Windowssystems,clickontheCMGLaunchericononthestartmenu.
Thelaunchershoulddisplayaniconforeachofthesimulatorsandsupporttoolsthathavebeeninstalledonyoursystem.OneoftheiconsbeingshownwillbeforResultsReport. Usingyourmouse,clickontheResultsReporticon. Afterafewseconds,anewwindowshouldpopuponyourworkstation,showingtheResultsReportheader,andpromptingyoufortheResultsReportcommandfilename. Afteryouhaveenteredafilename,youwillbepromptedforthenameofanoutputfile. ResultsReportwillthenreadyourinputcommandfileandproducetheoutputfile. IfyoufirstselectaResultsReportinputfile(onewitha"rwd"filenameextension),youwillnotbepromptedforaninputfilename.
AlistofthefilesinthecurrentprojectdirectoryisshownintheLauncherwindow. ItispossibletoselectaResultsReportinputfile,thenclickontheResultsReporticontostartResultsReport. TheselectedinputfilewillthenbeusedbyResultsReport.
2. RunningfromanMS-DOSPrompt
TheWIN32versionofResultsReportmayberundirectlyfromthecommandprompt.
UsagefortheWIN32versionofResultsReportisoneof:
report.exe/fcommand_file/ooutput_file
-readcommandsfromcommand_fileandwriteoutputtooutput_file
report.exe/fcommand_file
-readcommandsfromcommand_fileandwritetostandardoutput
report.exe
-promptfornamesoninputcommandfileandoutputfile
report.exe/n
-readcommandsfromstandardinputandwriteoutputtostandardoutput
2NotesonUsingtheKeywordInputSystem
BeforerunningtheResultsReport,youfirsthavetocreateaninputdataset.Bydefault,thesefilesshouldhavethefilenameextensionof"rwd"(ResultsReportData).ResultsReportinputdatasetsarereadbyResultsReportusinga"keywordinputsystem"likethatusedbyCMG'ssimulators.Thefollowingrulesapplytoallinputfiles:
1.Comments
Commentsareindicatedbyapairofasterisks("**").ThepartofanylineintheinputfilethatfollowsthepairofasterisksisignoredbyResultsReport.
2.Includefiles
Ifyouwishtoincludeanotherfilewithinamasterinputfile,the*INCLUDE'file_name'keywordmaybeused.
3.Keywordindicatorandupper/lowercase
Asingleasteriskimmediatelybeforeakeywordisoptional.Keywordsarecaseinsensitive.Thus,thefollowingareallequivalent:
*WELLS
WELLS
Wells
wells
Thekeywordindicatorisusedinallexamplesandoccurrencesofkeywordsinthisdocumentforclarityonly.
4.Namestrings
Namesofwells,parametersandfilesareinputsurroundedbysinglequotes(').Nameswithinsinglequotesarecasesensitiveandsensitivetoblanks.Thus,'poola.irf'and'PoolA.irf'aredifferent,asis'OilRateSC'and'OilRateSC'(therearetwoblanksbetween"Rate"and"SC"inthesecond).Failuretopayattentiontothesedifferencescanleadtoerrormessagessuchas"filenotfound"and"parameternotfound".WellnamesusedinResultsReportmustbeexactlythesameasthoseusedinthesimulatorinputdataset.
3HowtoSpecifyInformationforaColumn
Thefollowingexampleshowshowtoobtaintheoilrateatsurfaceconditionsforwell'W-1'.Thisexamplewillproduceonetablecontainingtwocolumns.Thefirstcolumncontainsthetimesincethebeginningofthesimulation,andthesecondcolumncontainstheoilrateatsurfaceconditionsforthewell'W-1'.
Example1(tutor1.rwd):
*TABLE-FOR
*COLUMN-FOR
*FILES'mxdemo.irf'
*WELLS'W-1'
*PARAMETERS'OilRateSC'
*TABLE-END
Thepairofkeywords*TABLE-FORand*TABLE-ENDareusedtorequestatable.Atleastonepairofthesekeywordsmustbepresentineveryreportinputfile.Thekeyword*COLUMN-FORisusedtorequestacolumn,andatleastone*COLUMN-FORkeywordmustbepresentbetweeneachpairof*TABLE-FORand*TABLE-ENDkeywords.
Inordertospecifytheinformationforonecolumn,youmustspecifyafile-name,anorigin-nameandaparameter-name.Inthisexample,thefilenameisspecifiedfollowingthekeyword*FILES,theorigin-nameisspecifiedusing*WELLSfollowedbyawell-nameandtheparameter-nameisspecifiedusingthekeyword*PARAMETERS.
The*FILES,*WELLS,and*PARAMETERScanbelocatedonthesamelineasthe*COLUMN-FORkeywordorontheimmediatelyfollowinglines. Thus,theaboveexamplecouldalsobewrittenas:
*TABLE-FOR
*COLUMN-FOR *FILES'mxdemo.irf' *WELLS'W-1' *PARAMETERS'OilRateSC'
*TABLE-END
4HowtoCreateManyTableswithManyColumns
Thefollowingexamplesshowhowtoobtain3tables,oneperwell,suchthateachtablecontains4columns(atimecolumnplusthe3parametercolumns).
Example2A:
*TABLE-FOR
*COLUMN-FOR*PARAMETERS'GasRateSC' *WELLS'W-1'*FILES'mxdemo.irf'
*COLUMN-FOR*PARAMETERS'OilRateSC' *WELLS'W-1'*FILES'mxdemo.irf'
*COLUMN-FOR*PARAMETERS'WaterRateSC'*WELLS'W-1'*FILES'mxdemo.irf'
*TABLE-END
*TABLE-FOR
*COLUMN-FOR*PARAMETERS'GasRateSC' *WELLS'W-2'*FILES'mxdemo.irf'
*COLUMN-FOR*PARAMETERS'OilRateSC' *WELLS'W-2'*FILES'mxdemo.irf'
*COLUMN-FOR*PARAMETERS'WaterRateSC'*WELLS'W-2'*FILES'mxdemo.irf'
*TABLE-END
*TABLE-FOR
*COLUMN-FOR*PARAMETERS'GasRateSC' *WELLS'W-3'*FILES'mxdemo.irf'
*COLUMN-FOR*PARAMETERS'OilRateSC' *WELLS'W-3'*FILES'mxdemo.irf'
*COLUMN-FOR*PARAMETERS'WaterRateSC'*WELLS'W-3'*FILES'mxdemo.irf'
*TABLE-END
Clearlythereistoomuchrepetitivetypinghere.However,thesamereportcanbeobtainedusingamuchmorecompactnotation.Asalltheinformationisobtainedfromthesamefile,youcanmovethefile-nameoutsidetheTABLE-FORTABLE-ENDpairs,andspecifyitonlyonce.
InformationthatisspecifiedoutsideTABLE-FORorTABLE-ENDpairs,issaidtobein"reportscope"andwillapplytoallsubsequenttablesinthereport.
WiththismodificationExample2Acanberewrittenasfollows:
Example2B:
*FILES'mxdemo.irf'
*TABLE-FOR
*COLUMN-FOR*PARAMETERS'GasRateSC' *WELLS'W-1'
*COLUMN-FOR*PARAMETERS'OilRateSC' *WELLS'W-1'
*COLUMN-FOR*PARAMETERS'WaterRateSC'*WELLS'W-1'
*TABLE-END
*TABLE-FOR
*COLUMN-FOR*PARAMETERS'GasRateSC' *WELLS'W-2'
*COLUMN-FOR*PARAMETERS'OilRateSC' *WELLS'W-2'
*COLUMN-FOR*PARAMETERS'WaterRateSC'*WELLS'W-2'
*TABLE-END
*TABLE-FOR
*COLUMN-FOR*PARAMETERS'GasRateSC' *WELLS'W-3'
*COLUMN-FOR*PARAMETERS'OilRateSC' *WELLS'W-3'
*COLUMN-FOR*PARAMETERS'WaterRateSC'*WELLS'W-3'
*TABLE-END
Furthermore,asallthecolumnsineachtablecorrespondtothesamewell,youcanspecifythewell-namefollowing*TABLE-FORandprecedingthefirst*COLUMN-FORkeyword.
Informationthatisspecifiedbetweena*TABLE-FORandthefirst*COLUMN-FORinatableissaidtobein"tablescope"andwillapplytoallthecolumnsinthetable.Informationthatfollowsa*COLUMN-FORkeywordandprecedingthenext*COLUMN-FORissaidtobein"columnscope"andwillapplyonlytothatcolumn.
InthiswayExample2Bcanbemodifiedasfollows
Example2C:
*FILES'mxdemo.irf'
*TABLE-FOR*WELLS'W-1'
*COLUMN-FOR*PARAMETERS'GasRateSC'
*COLUMN-FOR*PARAMETERS'OilRateSC'
*COLUMN-FOR*PARAMETERS'WaterRateSC'
*TABLE-END
*TABLE-FOR*WELLS'W-2'
*COLUMN-FOR*PARAMETERS'GasRateSC'
*COLUMN-FOR*PARAMETERS'OilRateSC'
*COLUMN-FOR*PARAMETERS'WaterRateSC'
*TABLE-END
*TABLE-FOR*WELLS'W-3'
*COLUMN-FOR*PARAMETERS'GasRateSC'
*COLUMN-FOR*PARAMETERS'OilRateSC'
*COLUMN-FOR*PARAMETERS'WaterRateSC'
*TABLE-END
Asnocolumnattributesarebeingmodified,wecantakeadvantageofthefactthatmorethanoneparameter-namecanfollowthe*PARAMETERSkeyword,andmorethanonewell-namecanfollowthe*WELLSkeyword. Thus,wecanfurthercompactthisResultsReportinputdatafileasfollows:
Example2D:
(tutor2.rwd)
*FILES'mxdemo.irf'
*TABLE-FOR*WELLS'W-1''W-2''W-3'
*COLUMN-FOR*PARAMETERS'GasRateSC''OilRateSC''WaterRateSC'
*TABLE-END
Inthisexample,*WELLS'W-1''W-2''W-3'wasusedtogeneratethreetables,andsimilarly*PARAMETERSfollowedby3parameternameswasusedtogeneratefourcolumnsforeachtable(timeisthefirstcolumn).
HowtoModifyTableandColumnAttributes
Theexamplesintheprevioussectiondemonstratethatthesametablescanbeobtainedusingavarietyofnotations.Thisflexibilityallowstheusertomodifytheattributeofacertaintableorcolumn.Thecompactnotationcanbeusedwhenalltheattributesforthetablesandcolumnsarethesame.Thefollowingexamplewillshowhowlesscompactnotationsareusedtomodifytheattributesofagiventableorcolumn.
Assumeforexample,thatwehaveperformedtwodifferentrunsofmxdemo.dat(fortwodifferentpredictionruns),andwewouldliketheinformation
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CMG软件Results Report CMG 软件 Results