runGtap使用说明

合集下载

Rainin SP+ Pipette Controller 2 用户手册说明书

Rainin SP+ Pipette Controller 2 用户手册说明书

O p e r a t i n g I n s t r u c t i o n sR a i n i n S P +Table of Contents1. Safety and Regulatory Information 31.1 Important Safety Information 3 1.2 Intended Use 3 1.3 Compatible Liquids 4 1.4 Regulatory Information 42. Introducing the Rainin SP+5 2.1 Overview 5 2.2 Box Contents6 2.3 Rainin SP+ – compatible Pipettes 73. Setup and Installation 8 3.1 Overview 8 3.2 Battery8 3.2.1 Battery Status Indicator 9 3.2.2 Charging 104. Operation11 4.1 Inserting a Serological Pipette 11 4.2 Adjusting the Speed 12 4.3 Aspirating 13 4.4 Dispensing13 4.5 Using the Extendable Head 13 4.6 Checking the Adapter Seal 14 4.7 Replacing the Adapter 15 4.8 Magnetic Hang-up ™16 4.9 Attaching the Support Frame165. Warnings176. Battery Replacement 187. Specifications18 7.1 Operating and Storage Environment 198. Accessories 209. Ordering Information 2010. Care and Maintenance2111. Service 2412. Troubleshooting 2513. Warranty Information 2614. Disposal26R a i n i n S P +1. Safety and Regulatory InformationThe following safety information is important for the safe handling and use of the Rainin SP+ pipette controller. Please read it carefully.Read all safety warnings before using, charging or servicing the Rainin SP+.Always use the Rainin SP+ in accordance with these operating instructions and keep these instructions for future reference. Safety notes are marked with signal words and warning symbols. Ignoring the safety notes may lead to personal injury, damage to the Rainin SP+ including malfunction, as well as unreliable results.The Rainin SP+ should only be used in laboratories and production environments by trained specialists who have read these operating instructions. Mettler-Toledo Rainin, LLC is not liable for any damage resulting from misuse, including but not limited to:• Use not in accordance with these operating instructions.• Use with accessories or consumables not recommended by Rainin. • Maintenance or repair by unauthorized personnel. • Unauthorized changes to the instrument.1.1 Important Safety Information1.2 Intended UseRisk of fire and burn.Do not short circuit.Do not disassemble, crush, incinerate or expose to high temperature.R a i n i n S P +R a i n i n S P +Welcome to Rainin SP+ pipette controller! This instrument, which features an extendable head, works with all types of 1 mL to 100 mL serological pipettes and can transfer liquid from 0.1 mL to 100 mL.Please read this manual in its entirety before using the instrument. It contains critical usage and technique information that will help you obtain accurate, reproducible results and ensure long-lasting operation.2. Introducing the Rainin SP+2.1 OverviewMagnetic Hang-up ™ connection pointBattery status indicatorAspiration/dispense control buttonsTelescoping headSupport frame attachment groovesCharging portDispense speed controlAspiration speed controlAspiration cone assemblyR a i n i n S P +In the Rainin SP+ box you will find:• 1 Instrument • 1 Magnetic Hang-up TM • 1 Power adapter • 1 Charging cable • 1 Support frame • 1 Filter• 1 Quick Reference Guide2.2Box ContentsPower adapterSupport frame Charging cable Magetic Hang-upFilterQuick Reference GuideSP+R a i n i n S P+The Rainin SP+ works with any type of standard serological pipette (1 mL, 2 mL, 5 mL, 10 mL, 15 mL, 25 mL, 50 mL and 100 mL).2.3Rainin SP+ – Compatible Serological PipettesR a i n i n S P +• Check to ensure box includes everything.• Check instrument for accessories damage that might have occurred during shipping. • Keep the box and inserts for storage and to return for service (e.g., battery replacement).• Plug the power supply into an electrical outlet using appropriate power plug adapter.• Connect the power supply to the instrument until it locks in place.• The Rainin SP+ comes with a built-in rechargeable battery.The battery has a two-year life and can only be replaced by an authorized METTLER TOLEDO or Rainin service technician.• After 10 seconds without use, the instrument will enter low-power mode.Pressing any button will reactivate it.• If required, the battery will automatically begin charging when placed onthe magnetic Hang-up or plugged directly into an AC power source.• The battery status display shows the battery's current capacity.3. Setup and Installation3.1 Overview3.2 BatteryR a i n i n S P +3.2.1 Battery Status Indicator• When the instrument is picked up, the speed control indicator andbattery status display will illuminate for 10 seconds.• When the speed control button is pressed, the speed control indicatorand the battery status display will illuminate for 10 seconds.• When the aspirate or dispense buttons is pressed, the speed controlindicator and battery status display will illuminate for 10 seconds.• If the speed indicator is not on, press either the aspirate or dispensespeed button and the indicator will display the previously set value.• If the speed indicator light is on, press the speed control button tochange the speed.R a i n i n S P +The battery will fully charge in about three hours and, once charged, will power the instrument for up to 15 hours. Note that after just 10 minutes of charging the battery will provide up to an hour of operation. The battery can be charged by placing the instrument on the magnetic Hang-up if it is connected to a power source, or by plugging the power cord from the AC adapter directly into power outlet on the base of the instrument.Note: The Rainin SP+ can be used while plugged into a power outlet. Disconnect the power cord from the charger and reconnect it directly into the instrument.3.2.2 ChargingR a i n i n S P +The Rainin SP+ generates pressure to aspirate or dispense a liquid. It can also dispense using only atmospheric pressure. Aspiration and dispense speeds are controlled by the pressure applied to the respective buttons on the instrument.4. OperationTo insert a pipette, hold the instrument by the head for support, then carefully insert the pipette into the aspiration cone until it is secure and tightly sealed.4.1Inserting a Serological PipetteR a i n i n S P +The aspiration and dispense speeds can be adjusted by pressing the appropriate button.4.2 Adjusting the SpeedDispense speed controlAspiration speedcontrolPressing the button will cycle the speed from low/medium/high, then back to low.To dispense without speed control (gravity), press the dispense speed button until no lights are illuminated.R a i n i n S P +4.3 Aspirating123Immerse the tip of the pipette into the liquid.Slowly press the aspirate button. Hold the button in place for continuous aspiration.Touch off the tip of the pipette to the vessel wall before removing it.Liquids can be dispensed at a low speed (flow out) or a high speed (blow out).The head of the SP+ can be extended by releasing the latch at the top of the neck and moving the head up. Secure the head in this position by closing the latch. To return the head to its original position, open the latch, move the head down and close the latch.4.4 Dispensing4.5Using the Extendable HeadR a i n i n S P +Liquids can be dispensed at a low speed (flow out) or a high speed (blow out).4.6 Checking the Adapter Seal134Insert the pipette into the aspiration cone. Hold the instrument so that the pipette is vertical.Aspirate the maximum volume.Without touching the pipette or pressing the control buttons, observe the tip of the pipette for approximately 30 seconds.If water leaks from the tube, remove the pipette and carefully disassemble/reassemble the aspiration cone assembly(aspiration cone/pipette adapter/filter module) and check the seal again. If it continues to leak, replace the pipette adapter.R a i n i n S P+4.7 Replacing the Adapter142536Remove the aspiration cone by twisting counter clockwise.Insert the filter module into a new pipette adapter.Unplug the filter module pipette adapter assembly from the head of the SP+.Reinsert the filter module adapter assembly into the head.Unplug the filter module from the adapter and discard.Replace the aspiration cone by twisting just until snug (do notovertighten).R a i n i n S P +The Rainin SP+ can be stored using the provided magnetic Hang-up. When attached to the power cord, the Hang-up will automatically detect and charge the instrument.• Strong magnets in the base of the Hang-up will hold the hook andSP+ securely to any ferromagnetic surface (e.g., the steel side wall of a Laminar flow hood).• Place the Hang-up on the metal wall directly where you want it.When removing or repositioning the Hang-up, pull it directly away from the wall to avoid scratching the wall (e.g., avoid sliding the base of the hook along the wall).• Warning: The Magnetic Hang-up has a strong magnetic field.Handle with care.4.8 Magnetic Hang-Up4.9 Attaching the Support FrameThe SP+ support frame attaches easily. Simply slide the arms of the frame over the grooves one each side of the handle.To remove, gently slide the support frameout of the grooves.R a i n i n S P +Because this instrument may be used to handle hazardous liquids, these operating instructions do not claim to address all of the safety issues associated with its use. It is the user's responsibility to establish appropriate safely and health practices, and determine the applicability of regulatory limitations prior to use.• Every user must read and understand the operating instructions inthis manual.• Follow the general instructions for hazard prevention and safetyregulations (e.g., wear protective clothing, eye protection andgloves).• Observe all specifications provided by reagent manufacturers.• Never use the instrument in an area where there is danger ofexplosion.• Do not use this instrument to pipette flammable liquids.• Only use this instrument to pipette liquids, with strict regard to thedefined limitations of use. If in doubt, contact your METTLER TOLEDO or Rainin sales representative, Rainin Technical Support or the supplier.• Avoid splashes (e.g., over-aspirating).• Only dispense into suitable vessels.• Never use force on the instrument.• Use only original Rainin accessories and spare parts.• Do not alter the instrument or dismantle it any further than asdescribed in these operating instructions.• Always check the instrument for visible damage prior to use. Ifthere is a sign of a potential malfunction, immediately stop using the instrument and consult Section 13, Troubleshooting. Consult Section 13, Troubleshooting. If necessary, contact Rainin Technical Support.• To charge the lithium battery, you must use the power adaptersupplied with the instrument or a replacement adaptor (if original is lost) specified by Rainin.• Protect the power adapter from moisture and do not use it for anyother purpose than recharging the battery in this instrument.• Only METTLER TOLEDO or Rainin service personnel are authorizedto repair or service the instrument.5. WarningsR a i n i n S P +6. Battery Replacement /7. SpecificationsThe Rainin SP+ comes with a built-in rechargeable battery. It has a two-year life-span and can only be replaced by sending it in for service.Below are the technical specifications for the Rainin SP+.6. Battery Replacement7. SpecificationsR a i n i n S P +7. Specifications7.1Operating and Storage Environment• The instrument should not be stored with a pipette attached.• Do not expose the instrument to volatile gases over an extended period.R a i n i n S P +8. Accessories / 9. Ordering Information8. AccessoriesProductMaterial NumberRainin SP+ Pipette Controller306714159. Ordering InformationR a i n i n S P+Clean the Rainin SP+ by wiping the housing with a damp cloth. The housing can also be disinfected using alcohol (ethanol, propanol) or alcohol-based disinfectants.The SP+ may also be sterilized by applying 30 minutes of ultraviolet irradiation after each experiment. After 600 hours under a 30W UV light the color change should be less than 2.0.Liquid entering the serological pipette adapter/filter module assembly can decrease the instrument's aspiration capacity. If liquid gets in the adapter, you will need to remove and disassemble the aspiration cone assembly. Once the parts have been cleaned and dried, reassemble. If the filter is wet it will need to be replaced.10. Care and Maintenance123Turn the aspiration conecounterclockwise to remove it. Remove the pipette adapter and filter assembly. Remove the filter from the adapter.To disassemble:R a i n i n S P +142536Twist the aspiration cone counterclockwise to remove it.Clean and dry the pipette adapter.Pipette adapterFilter moduleUnplug the pipette adapter/filter module from the head of the SP+. If there is liquid in the filter module, replace it.Unplug the filter module from the pipette adapter.Plug the filter module into the pipette adapter.To clean and dry the pipette adapter/filter assembly:R a i n i n S P+78Plug the filter/pipette adapterassembly into the head of the SP+.Twist the aspiration cone clockwise (do not overtighten).The pipette adapter assembly can be replaced, cleaned or autoclaved asdescribed below (121 °C, 1 bar overpressure for 20 min.)R a i n i n S P +11. ServiceAny authorized METTLER TOLEDO or Rainin service professional can service the Rainin SP+. We cannot accept instruments that are not appropriately cleaned and decontaminated. The Rainin SP+ may be repaired, but it cannot be calibrated.Go to /contacts to find your local METTLER TOLEDO or Rainin service center.11. ServiceR a i n i n S P +12. Troubleshooting12. TroubleshootingTechnical Support Contact Information ChinaPhone: 4008 878 989Email:****************North AmericaPhone: 800 662 7027Email:***********************RoW/contactsR a i n i n S P +13. Warranty Information13. Warranty Information / 14. DisposalFor warranty claims, please contact Rainin Technical Service at *************.The warranty is void if the instrument housing has been opened or there is evidence of abuse/misuse. The battery and other parts subject to normal wear and tear (e.g., pipette adapter/filter) are not covered by warranty.The following guidelines should be followed to ensure the proper disposal of the Rainin SP+.•Decontaminate the instrument before disposal by following local, regional and national guidelines for biohazardous or radioactive waste disposal.• The lithium ion battery is regulated waste and must be disposed of according to local, regional and national guidelines.•Dispose of the instrument according to local, regional andnational guidelines concerning take-back of electronic equipment and waste.•Recycle original packaging with your local recycling agent.Contact your local METTLER TOLEDO or Rainin representative for more information.14. DisposalMettler-Toledo Rainin, LLC 7500 Edgewater Drive Oakland, California 94621 USA Subject to technical changes/rainin。

一般均衡模型讲义2:GTAP模型总览n

一般均衡模型讲义2:GTAP模型总览n

二、学习的基础和教材(续)
参考资料 IFPRI (International Food Policy Research
Institute )的入门资料/
Exercises in General Equilibrium Modeling Using GAMS by Hans Lofgren ;
|
NSAV_COMM
|
|---------------------------------------------------------------------------------|
|
PROD_COMM
|
|----------------------------------------------------------|
Set MARG_COMM # margin commodities # maximum size 10 read elements from file GTAPSETS header "MARG";
Subset MARG_COMM is subset of TRAD_COMM;
Set NMRG_COMM # non-margin commodities # = TRAD_COMM -
J.B.Shoven & J.Whaley,1992,Appling General Equilibrium, Cambridge University Press, England.
Grahan Pyatt & Jeffery I.. Round, 1985, Social Accounting Matrices: A Basis for Planning, A world Bank Symposium, Copyright 1985 by the internationl Bank for Reconstruction and Development/ The World Bank.

双循环战略下中国对外贸易政策GTAP模型分析

双循环战略下中国对外贸易政策GTAP模型分析

基金项目:2021年江苏省大学生实践创新训练项目“双循环战略下中国对外贸易政策GTAP 模型分析”(SZDG2021042)作者简介:李明哲(2001-),男,山东淄博人,学生,从事国际经济与贸易研究;杨博淳(2001-),男,江苏南通人,学生,从事网络安全研究。

引言进入新常态,我国经济增长态势依旧稳健,但也不断遭受全球贸易单边主义的危害。

目前国内外学者对在自由贸易协定的背景下经济势头持续发展的原因有不同的看法,对中国以自由贸易协定为背景展开对经济涨幅原因的一般性研究和宏观认识还不多见。

仅靠内需拉动还不能实现经济复苏,还需要进一步调整,在外部需求持续低迷的情况下,深入探讨中国自由贸易区所带来的经济影响。

我国目前的贸易政策影响探索需要更加对应的理论与实证研究。

一、文献综述GTAP 模型应用广阔,许多学者基于GTAP 模型对FTA、TPP 等自贸区政策进行了政策效应模拟,分析国际贸易问题,探索经济持续发展的机遇,并提出相应的政策措施。

李金叶(2021)等通过静态GTAP 模型对制造业部门的发展进行预测,发现随着RCEP 建成,各成员国的贸易联系将更加紧密。

张军(2021)等运用动态GTAP 模型对中蒙自由贸易区的贸易效应进行评估,发现非关税壁垒的削减对中蒙经贸发展更有利。

许玉杰(2021)等采用GTAP 模拟RCEP 协定对各国宏观经济和制造业发展的影响,发现RCEP 生效可推动中国、东盟等成员国贸易增长,使居民福利增加。

王伶(2017)基于GTAP 模型模拟情景,评估了中日韩FTA 的农产品贸易增长效应,结果显示,中日韩FTA 将会产生较大的贸易创造效应,从长期看,建立FTP 对3国农产品自由贸易有利。

张裕仁(2017)应用GTAP 模型,从福利变化、GDP 变化、贸易条件变化、贸易平衡变化等方面对成员和非成员带来的经济发展效应进行分析研究,发现如果实现货物贸易自由化,则RCEP 成员经济效益将会高于TPP 成员。

RunCam Split 2 产品说明书

RunCam Split 2 产品说明书

·Instruction diagram Side BWiFi module connectorPower/Shutter Button Micro-USBSensor connector WiFi/Mode Switch Button Side ALED 1: Blue ——WiFi status lightLED 2: Green ——Photo mode status lightLED 3: Blue —— Video mode status lightLED 4: Orange —— OSD Setup status lightLED 5: Red —— Power status light, it's always on after being poweredTXRXGND VCC+ (5-15V)GND VideoAudio LED 1LED 2LED 3LED 4LED 5Microphone Buzzer ·Transmitter connection diagram User ManualPreparation · Firmware: CleanFlight (≥2.1.0) / BetaFlight (≥3.2.0)· Any available UART interface on the Flight Controller1. Connect the RunCam Split 2 with the UART interface of the Flight Controller2. Make the Flight Controller recognize the RunCam Split 2For example, we connect the RunCam Split 2 to the UART 3 interface on the Flight Controller: connect the Flight Controller to the computer, then open the configurator software of the Flight Controller. (Open up the configurator that matches the firmware you are running, Betaflight Configurator for Betaflight, Cleanflight Configurator for Cleanflight). In the Peripherals column of the line UART3 (on the Ports tab), select RunCam Device and click Save And Reboot.3. Instructions of the functions of the camera and assigning transmitter channels to themIn the Flight Controller Configurator, navigate to the Modes tab. There are new CAMERA WI-FI, CAMERA POWER and CAMERA CHANGE modes .· CAMERA WI-FI: turn on/off the WIFI of the camera. When in the OSD of the camera, this is used to confirm your selection.· CAMERA POWER: start/stop the video. When in the OSD of the camera, this is used to move to the next menu item.· CAMERA CHANGE MODE: switch among the three modes, video, photo and OSD setting mode. When in the OSD of the camera, this will exit the menu.Assign any available channel to the function you need, for example:· Assign the AUX1 to the CAMERA WI-FI, range 1900-2100· Assign the AUX2 to the CAMERA POWER, range 1900-2100· Assign the AUX3 to the CAMERA CHANGE MODE, range 1900-21004. Assign the channel to the switch of the controller Please choose your Model on the controller, then access to the MIXER interface and assign the channel to the switch of the controller. Take opentx 2.2.0 for example, assign the channels CH5, CH6 and CH7 to SA, SB and SD respectively.5. TestPower the Flight Controller and the RunCam Split 2· Set the SA to the bottom, the camera starts/stops the video· Set the SB to the bottom, the camera turns on/off the WIFI· Set the SD to the bottom, the camera switches among the three modes: video, photo and OSD setting mode·Flight Controller Set GND GNDTX TX RX RXFC UART Interface·App(Android | iOS)Search 'RunCam App' on Google Play/Apple Store, or download on our website: https:///download/runcamsplit2Default SSID: RCSplit_ ****** (* for letters or numbers)Default WiFi password: ·ParameterField of View (FOV)Video ResolutionVideo File FormatImage ResolutionTV ModeReal-Time Audio OutputInterface Max Micro SD Card Supported WiFi Module Dimensions Power Input Working Current WeightFPV FOV 130°/Recording FOV 165°1080@60fps/1080@30fps/720@60fps MOV 2 Megapixels NTSC (720*480)/PAL (720*576) Switchable Yes Micro USB / UART64G(need Class 6 or above, recommend Class 10/UHS-I/UHS-II/UHS-III)Support (Removable)PCB 38*38mm/Lens Module 22*20mmDC 5-15V / DC 5V(USB)650mA @5V/270mA @12V21g/23g (Plus WiFi Module)Note: Recording automatically after turing on by default, with the V1.0 firmware, under the video status, short press WIFI/MODE SWITCH button to pause/start the recording. With the V1.1 and later firmware, under the video status, short press WIFI/MODE SWITCH button to stop the recording and turn on the WIFI; Under the standby mode, the function of the WIFI/MODE SWITCH button doesn't change.·Basic Camera OperationPowering On/OffWiFi On/OffMode SwitchingVideo ModePhoto Mode OSD Setup Mode Forced Shutdown ResetLong press the Power/Shutter button Short press the WiFi/Mode Switch button After powering on, long press the WiFi/Mode Switch button to cycle through the three modes: Video/Photos/OSD settings.Camera Status Light: Blue (LED 3)• Press the Power/Shutter button to start/stop recording.Camera Status Light: Green (LED 2)• Press the Power/Shutter button to capture photos.Camera Status Light: Orange (LED 4)• Press the Power/Shutter button to move to a setting.• Press the WiFi/Mode Switch button to select.• Long press the WiFi/Mode Switch button to exit the menu.Simultaneously press the Power/Shutter button andWiFi/Mode Switch button.In standby mode, press the WiFi/Mode Switch button three times in rapidsuccession (within 2 seconds). When resetting is complete, the statuslight (orange) blicks twice, and the camera automatically shuts down.Warning: Please push upward the black locking arm before you unplug the lens cable in case the connector is destroyed. And Golden fingers on ends of the lens cable should face to the opposite of each other. For more details about how to connect the lens cable properly, you may refer to: https://goo.gl/PoGg1T Warning: USB port only supports DC 5V·MicroSD Card Capacity up to 64GB; Please use high speed cards(Class10/UHS-I/UHS-II).Please push the metal piece a little bit up with one hand like showed in above step 1 and then press the SD card(step 2) with another hand to let the card pop out.21·Lens module connection diagramOPEN 21LOCK12·Installation DiagramWarning:USB port only supports DC 5VUSB DC 5V·Technical SupportPlease visit : https:// 5VGNDGNDVideo Power in GNDPDBMethos Two: connect by the TV-out and power USB cableMethod One (Recommended): connect by the soldering pads5-15V 5-15V GNDVideoAudioPower inGNDPDBVideo TransmitterVideo TransmitterRunCam Device and click Save And Reboot.3.I ns t ruc t i ons o f t h e f unc t i ons o f t h e camera an d ass i gn i ng t ransm i t t er Assign the AUX3 to the CAMERA CHANGE MODE, range 190021004A ss i gn t h e c h anne l t o t h e s wi i t c h of f t h e con t ro l l er。

GTAP6数据库操作简介

GTAP6数据库操作简介

GTAP 6 数据库操作简介Jerry2005/9/27一、GTAP简介全球贸易分析计划(Global Trade Analysis Project, GTAP),由美国普渡大学教授Thomas W. Hertel 所领导之发展出来之多国多部门一般均衡模型(Computable General Equilibrium, CGE),目前被广泛应用于贸易政策之分析,此模型的建立在于方便研究者进行有关经贸问题的政策模拟分析,并减少在数据收集上时间的浪费。

模型中共有五种不同类别之要素:土地、资本、技术劳动力、非技术劳动力,以及自然资源;三个代表性的行为主体:私人家计部门、政府部门及厂商。

本课程仅使用其数据库的部份,故对模型有兴趣的同学,请上课程网站下载更详细的介绍1。

目前本课程所使用的版本为GTAP 6.0,共分成57个部门87个地区别(请至课程网站下载分类表)。

二、找资料:ViewHar(一)使用数据库的步骤为:1.询问系电助教安装GTAP 6.0计算机位置。

2.开启ViewHAR 。

3.选取File\Open Header Array File.. 。

4.选取数据夹C:\Gtap6 。

5.选取数据库档案:(1)Gsddat :基期年资料常用变量代号对照表(点两下进入):1.tw/it_teacher/kmchen/homepage/mainpage.htm。

(2)Tstrade0:时间数列-农业(3)Tstrade1:时间数列-非农业5.1或者选取“C:\Gtap6_new”中之(1)Basedata:基期年数据(代码和Gsddat中相同)。

(2)Baseview:基期年资料(见下表)。

(3)Tstrade:时间序列数据。

这个数据夹中常用的资料代码有:(二)ViewHar操作接口例1:VIMS窗口右上角图标:贸易财出口国进口国贸易财:All trade commodity, Sum trade commodity, pdr ~ dwe出口国:All Region, Sum region, aus ~ xrw进口国:All Region, Sum region, aus ~ xrw左上角图示:矩阵运算小数点矩阵运算:Row-以列加总取比例Col-以行加总取比例Matrix-以矩阵加总取比例小数点:0~6例2:tstrade(tstrade表示一个数据文件)贸易财出口国进口国时间序列时间序列:All year, Sum year, 1965 ~ 1998。

TestTrack Pro使用手册

TestTrack Pro使用手册

TestTrack Pro(v7.5.2) 使用手册●TestTrack Pro 的特性和优点1.集成了Surround SCM, Visual SourceSafe, Clear Case, PVCS, Perforce,CVS, Star Team, 和Source OffSite Classic源代码控制软件2.支持ODBC 数据库并且可以以XML 的方式导入/导出数据,让用户可以在TestTrack和其他数据库之间轻松快速地交换数据3.可以自定义工作流程,数据关键字,关键字关系以及用户的安全级别4.可以将相关的bug进行关联,增加了bug管理的系统性●TestTrack Pro的工作流程TestTrack Pro服务器端安装:1)双击TestTrackPro的安装程序“ttprowininstall.exe”;2)在安装页面中选择“NEXT”;选中接受协议,选择“NEXT”;3)在选择安装类型的页面里面选择需要安装的类型;4)在选择类型页面里面,你可以选择单独安装客户端或者服务器端,也可以选择定制安装。

如果选择定制安装,需进行第五步操作;5)在显示的安装设置页面里,可以选中具体需要安装的内容。

由上到下的选项依次为:客户端应用程序(一般全部勾选);服务器端应用程序(如果仅仅是客户端,此处不用选中);WEB服务需要的安装项目(本地局域网的测试环境不用选中)。

6)选中具体安装项后,点击“NEXT”,进入下一步。

页面显示:选择开发环境中是否添加TestTrack的工具栏。

还会显示“Display Visual Studio .NET Add-in toolbar”的选项,根据需要选择。

点击“NEXT”。

7) 进入TestTrack的安装路径选择页面,设置软件的安装路径,点击“NEXT”。

6)安装完成,点击“Finish”按钮,结束安装。

如果是第一次安装,安装完成系统会提示需要重新启动计算机。

●TestTrack Pro 客户端安装前面的步骤与服务器端的安装方式相同。

iOS学习笔记—Runloop经典讲解

iOS学习笔记—Runloop经典讲解

iOS学习笔记—Runloop经典讲解iOS学习笔记12—Runloop一、Runloop简介:Run loops 是线程相关的的基础框架的一部分。

一个 run loop 就是一个事件处理的循环,用来不停的调度工作以及处理输入事件。

使用 run loop的目的是让你的线程在有工作的时候忙于工作,而没工作的时候处于休眠状态。

Runloop还可以在loop在循环中的同时响应其他输入源,比如界面控件的按钮,手势等。

Run loop 接收输入事件来自两种不同的来源:输入源(input source)和定时源 (timer source)。

输入源传递异步事件,通常消息来自于其他线程或程序。

输入源的种类:基于端口的输入源和自定义输入源。

定时源则传递同步事件,发生在特定时间或者重复的时间间隔。

Run loop 模式是所有要监视的输入源和定时源以及要通知的 run loop 注册观察者的集合。

可以将 Run loop 观察者和以下事件关联:Run loop 入口Run loop 何时处理一个定时器Run loop 何时处理一个输入源Run loop 何时进入睡眠状态Run loop 何时被唤醒,但在唤醒之前要处理的事件Run loop 终止每次运行 Run loop,你线程的 Run loop 对会自动处理之前未处理的消息,并通知相关的观察者。

具体的顺序如下:1. 通知观察者 Run loop 已经启动。

2. 通知观察者任何即将要开始的定时器。

3. 通知观察者任何即将启动的非基于端口的源。

4. 启动任何准备好的非基于端口的源。

5. 如果基于端口的源准备好并处于等待状态,立即启动;并进入步骤9。

6. 通知观察者线程进入休眠。

7. 将线程置于休眠直到任一下面的事件发生:某一事件到达基于端口的源;定时器启动;Run loop 设置的时间已经超时;Run loop 被显式唤醒。

8. 通知观察者线程将被唤醒。

9. 处理未处理的事件如果用户定义的定时器启动,处理定时器事件并重启 Run loop。

GTAP6数据库操作简介Word文档

GTAP6数据库操作简介Word文档

GTAP 6 数据库操作简介Jerry2005/9/27一、GTAP简介全球贸易分析计划(Global Trade Analysis Project, GTAP),由美国普渡大学教授Thomas W. Hertel 所领导之发展出来之多国多部门一般均衡模型(Computable General Equilibrium, CGE),目前被广泛应用于贸易政策之分析,此模型的建立在于方便研究者进行有关经贸问题的政策模拟分析,并减少在数据收集上时间的浪费。

模型中共有五种不同类别之要素:土地、资本、技术劳动力、非技术劳动力,以及自然资源;三个代表性的行为主体:私人家计部门、政府部门及厂商。

本课程仅使用其数据库的部份,故对模型有兴趣的同学,请上课程网站下载更详细的介绍1。

目前本课程所使用的版本为GTAP 6.0,共分成57个部门87个地区别(请至课程网站下载分类表)。

二、找资料:ViewHar(一)使用数据库的步骤为:1.询问系电助教安装GTAP 6.0计算机位置。

2.开启 ViewHAR 。

3.选取File\Open Header Array File.. 。

4.选取数据夹C:\Gtap6 。

5.选取数据库档案:(1)Gsddat :基期年资料1.tw/it_teacher/kmchen/homepage/mainpage.htm。

常用变量代号对照表(点两下进入):代码说明VIFM Import purchases, by firms, at market priceVDFM Domestic purchases, by firms, at market pricesVIMS Imports, at market pricesVIWS Imports, at world pricesVXWD Non-margin exports, at world pricesVXMD Non-margin exports, at market pricesTVOM Sales of domestic product, at market prices(2)Tstrade0:时间数列-农业(3)Tstrade1:时间数列-非农业5.1或者选取“C:\Gtap6_new”中之(1)Basedata:基期年数据(代码和Gsddat中相同)。

TrueTime 1p5 使用指南 中文手册

TrueTime 1p5 使用指南 中文手册

TrueTime 1.5 使用指南Martin OhlinDan HenrikssonAnton CervinDepartment of Automatic ControlLund UniversityJanuary 2007目录目录 (2)1 介绍 (4)2 开始 (4)2.1 软件要求 (4)2.2 安装 (4)2.3 编译 (4)3 仿真器使用 (4)4 函数代码编写 (5)4.1 Matlab函数代码编写 (5)4.2 C++函数代码编写 (6)4.3 调用Simulink模块对话框 (6)5 初始化 (6)5.1 编写Matlab初始化脚本文件 (6)5.2 编写C++初始化脚本文件 (7)6 编译 (7)7 TrueTime Kernel (7)7.1 动态电压范围 (8)8 TrueTime Network (8)8.1 CSMA/CD (Ethernet)—以太网 (10)8.2 CSMA/AMP (CAN) (10)8.3 Round Robin (Token Bus) —轮询(令牌总线) (10)8.4 FDMA—频分 (10)8.5 TDMA (TTP)—时分 (10)8.6 Switched Ethernet—交换式以太网 (11)9 TrueTime Wireless Network (11)10 TrueTime Battery (11)11 TrueTime Standalone Network Blocks (11)12 例程 (11)12.1 PID-control of a DC-servo (12)12.2 Task Scheduling and Control (13)12.3 Distributed Control System (13)12.4 Deadline Overrun Handling (14)12.5 Task Synchronization Using Monitors (14)12.6 Distributed Wireless Control System (15)12.7 Control and Coordination of Mobile Motes (15)12.8 Wireless Ad-hoc Routing Using AODV (15)12.9 Mote Soccer (15)12.10 ttSendMsg/ttGetMsg stand-alone network blocks (15)13 Kernel执行技术细节 (15)13.1 Kernel的数据结构 (16)13.2 任务模型(Task Model) (18)13.3 Kernel的函数 (19)13.4 时序(Timing) (19)14 TrueTime命令列表 (19)14.1 命令解析 (22)ttAnalogIn (TH) (22)ttAnalogOut (TH) (22)ttCallBlockSystem (TH) (22)ttCreateInterruptHandler (I) (23)ttCreatePeriodicTask (I) (23)ttGetMsg (TH) (24)ttInitNetwork (I) (24)ttSendMsg (TH) (24)1 介绍本文为基于Matlab/Simulink仿真工具TrueTime的说明。

iOS开发-Runloop详解(简书)

iOS开发-Runloop详解(简书)

iOS开发-Runloop详解(简书)不知道⼤家有没有想过这个问题,⼀个应⽤开始运⾏以后放在那⾥,如果不对它进⾏任何操作,这个应⽤就像静⽌了⼀样,不会⾃发的有任何动作发⽣,但是如果我们点击界⾯上的⼀个按钮,这个时候就会有对应的按钮响应事件发⽣。

给我们的感觉就像应⽤⼀直处于随时待命的状态,在没⼈操作的时候它⼀直在休息,在让它⼲活的时候,它就能⽴刻响应。

其实,这就是run loop的功劳。

⼀、线程与run loop1.1 线程任务的类型再来说说线程。

有些线程执⾏的任务是⼀条直线,起点到终点;⽽另⼀些线程要⼲的活则是⼀个圆,不断循环,直到通过某种⽅式将它终⽌。

直线线程如简单的Hello World,运⾏打印完,它的⽣命周期便结束了,像昙花⼀现那样;圆类型的如操作系统,⼀直运⾏直到你关机。

在IOS中,圆型的线程就是通过run loop不停的循环实现的。

1.2 线程与run loop的关系Run loop,正如其名,loop表⽰某种循环,和run放在⼀起就表⽰⼀直在运⾏着的循环。

实际上,run loop和线程是紧密相连的,可以这样说run loop是为了线程⽽⽣,没有线程,它就没有存在的必要。

Run loops是线程的基础架构部分,Cocoa和CoreFundation都提供了run loop 对象⽅便配置和管理线程的run loop(以下都已Cocoa为例)。

每个线程,包括程序的主线程(main thread)都有与之相应的run loop对象。

1.2.1 主线程的run loop默认是启动的。

iOS的应⽤程序⾥⾯,程序启动后会有⼀个如下的main() 函数:int main(int argc, char *argv[]){@autoreleasepool {return UIApplicationMain(argc, argv, nil, NSStringFromClass([appDelegate class]));}}重点是UIApplicationMain() 函数,这个⽅法会为main thread 设置⼀个NSRunLoop 对象,这就解释了本⽂开始说的为什么我们的应⽤可以在⽆⼈操作的时候休息,需要让它⼲活的时候⼜能⽴马响应。

GTAP模型应用的一个介绍

GTAP模型应用的一个介绍
Mia Mikic, TID More information on /
Overview on presentation
Why
opting for a general equilibrium analysis?

applied / computable general equilibrium models
An introduction to GTAP applications relevant to ESCAP analytical work in trade
A series of information sharing sessions on knowledge acquired through individual training
Why
GTAP? Uses for ESCAP analytical work
Models
Model is a stylized simplification of reality in which behavior is represented by variables and by assumptions about how they are determined and interact. They allow us to frame the analysis in such a way that we are able to think consistently and logically about complex issues, to work out how changes in an economic system matter, and (sometimes) to make predictions about economic performance.

RunLoop总结:RunLoop基础知识

RunLoop总结:RunLoop基础知识

RunLoop总结:RunLoop基础知识什么是RunLoop?顾名思义,它就是一个运行循环。

一个RunLoop 就是一个用于处理既定工作和接收到的外来事件的事件处理循环。

RunLoop的存在目的就是当线程中有任务时,保证线程忙着干活;当线程中没有任务时,让线程睡眠,以节省资料(想想看,你是在房间里一直转圈抗饿还是躺在床上睡觉更抗饿?)。

理解了EventLoop 就能很好的理解RunLoop了。

简单的用伪代码来表示就是这样的:function loop() {initialize();while (message != quit) {var message = get_next_message();process_message(message);}}关于RunLoop,苹果的Cocoa 和CoreFoundation 框架都分别提供了NSRunLoop 和CFRunLoopRef供开发者调用和执行操作。

CFRunLoopRef 只是一个结构体,而NSRunLoop是一个NSObject 对象,必然是苹果将CFRunLoopRef进行了封装。

需要注意的是NSRunLoop并不是线程安全的,而CFRunLoopRef 是线程安全的。

官方文档原文是:Thread safety varies depending on which API you are using to manipulate your run loop.The functions in Core Foundation are generally thread-safe and can be called from any thread.If you are performing operations that alter the configuration of the run loop, however,it is still good practice to do so from the thread that owns the run loop whenever possible.The Cocoa NSRunLoop class is not as inherently thread safe as its Core Foundation counterpart.If you are using the NSRunLoop class to modify your run loop, you should do so only from the same thread that owns that run loop.Adding an input source or timer to a run loop belonging to a different thread could cause your code to crash or behave in an unexpected way.接下来,看一下CFRunLoopRef里都保存了哪些数据?可以从CF框架源码的CFRunLoop.h和CFRunLoop.c,看看苹果对CFRunLoopRef 的定义。

GTAP模型RunGTAP操作方法【中文版】

GTAP模型RunGTAP操作方法【中文版】

使用RunGTAP和WinGEM的操作来介绍GTAP 和GEMPACKKen Pearson and Mark Horridge2005年4月在这份文档中,我们给出了几个你可以操作的动手计算的例子来熟悉RunGTAP和GEMPACK软件的应用。

A部分的案例旨在引导我们如何在GTAP数据库中找到相关的数据。

B部分的案例旨在引导如何运用GTAP展开模拟。

C部分介绍了如何使用RunGTAP软件产生一个新的文本以供使用(即GTAP数据库的聚集)。

D部分假设你已经了解一些有关GEMPACK的知识——它告诉你如何在RunGTAP中调整和运行自己的经济模型。

在E 部分中,我们告知你如何找到更多的有关RunGTAP和GEMPACK的信息,而且提到了一些你更愿去尝试的其他模型而不只是GTAP模型来进行手动计算。

附录A(并未在这个短期课程中使用)给出了在WinGEM下而不是通过RunGTAP进行GTAP模拟的详细指导。

这份文档是为2005年6月在克里特岛举办的GTAP短期课程而设计使用的,它也可以用于课程结束后,与会者结合从本课程中带回去的RunGTAP和GEMPACK软件来使用。

并且由于在下文中提到的某些限制,这篇文档对其他学习使用RunGTAP软件操作的人也很有帮助。

此文档假设你拥有配置如下:(a)RunGTAP的最近版本(版本3.10或者更新,发行于2001年7月或者更晚)(b)带有硬盘的奔腾处理器,至少有32MB的RAM(内存),在Windows95, 98, ME, NT, 2000或者XP环境下运行(c)版本7.0或以上的GEMPACK的源代码或者可执行图像,并且各种有关GTAP的文件都在你的电脑的GTAP目录项下当你阅读此文档时,你可以根据设计的案例来使用RunGTAP和GEMPACK,以便熟悉这些软件的操作,并且更为重要的是熟悉GTAP模型的应用。

RunGTAP是由Mark Horridge 编写的自定义的windows程序,它使得交互式解决全球贸易分析变得更加容易。

DEPA_框架下降低技术贸易壁垒的经济效应研究——基于GTAP_模拟分析

DEPA_框架下降低技术贸易壁垒的经济效应研究——基于GTAP_模拟分析

【摘要】《数字经济伙伴关系协定》(DEPA)作为全球首项纯数字经济协定,兼具全面性及前瞻性的特点,有助于解决数字经济中的关键问题。

文章通过构建GTAP模型,模拟分析加入DEPA后对我国宏观经济及产业的影响。

研究发现,加入DEPA将对我国的GDP和福利水平产生显著的正向影响,而且随着成员国的增加以及技术贸易壁垒的减少,该影响也会逐渐增大。

但是在数字化产业层面上总体呈现出负面影响,我国数字经济强国建设任重道远。

【关键词】DEPA;技术贸易壁垒;GTAP模型; 数字经济;经济效应研究【中图分类号】F744一、引言继2020年新加坡、新西兰、智利三个国家线上签署《数字经济伙伴关系协定》,2021年11月,中方代表、商务部部长王文涛致信新西兰贸易与出口增长部部长奥康纳,代表中方正式提出申请加入DEPA[1]。

DEPA旨在引领新的跨境数字经济制度建设,为各国企业在数字经济中的蓬勃发展创造机遇,涉及商业便利化、商业和消费者信任、创新与数字经济、中小企业合作、数字身份及数字包容等16个板块[2]。

同时DEPA作为全球首项纯数字经济协定,兼具全面性及前瞻性的特点,有助于解决数字经济发展中的关键问题。

积极加入DEPA展现出我国深度参与全球数字经济治理与数字规则建设战略姿态[3]。

传统意义上的区贸协定大多以削减关税为主,而在降低技术性贸易壁垒(Technical Barriers to Trade,TBT)方面极少涉及[4]。

根据WTO数据显示,2010年以来各国向WTO通报的TBT数量相比2000年显著增加,技术性贸易壁垒俨然已经成为现行国际贸易体系中的重要壁垒。

为了让研究更具针对性,本文将选择数字化潜力产业作为主要研究对象。

当前,数字经济日趋成为拉动全球经济发展的新动能,《“十四五”规划和2035年远景目标纲要》更是提出,要着力打造数字经济新优势,赋能传统产业向高精尖方面转型,催生新产业新业态新模式,壮大国民经济发展新引擎[5]。

操作环形传送带软件带的操作步骤

操作环形传送带软件带的操作步骤

操作环形传送带软件带的操作步骤1. 环形传送带软件的概述环形传送带软件是一种用于控制和管理环形传送带运作的专业软件。

它提供了一套完整的操作步骤和功能,能够实现对环形传送带的监控、调度和优化,以提高生产效率和降低人工操作成本。

2. 安装环形传送带软件在开始使用环形传送带软件之前,需要先进行安装。

按照软件提供的安装指南,下载并安装软件到计算机系统中。

确保操作系统的兼容性和硬件的要求,以保证软件能够正常运行。

3. 连接环形传送带硬件设备在使用环形传送带软件之前,需要先连接传送带的硬件设备。

根据硬件设备的说明书,将传送带与计算机系统进行连接,包括连接数据线、电源线和控制线等。

确保连接的正确性和稳定性,避免出现不必要的故障。

4. 启动环形传送带软件完成软件的安装和硬件的连接后,可以开始启动环形传送带软件。

双击软件的图标或在操作系统的菜单中找到软件并点击打开。

等待软件加载完成,会出现主界面。

5. 登录环形传送带软件在主界面中,会出现登录界面。

输入有效的用户名和密码,点击登录按钮进行登录。

如果是首次登录,可能需要先进行注册和创建管理员账号。

6. 主界面的功能介绍登录成功后,进入到主界面。

主界面提供了各种功能按钮和信息显示区域,用于监控和管理环形传送带的运行状态。

下面是主界面的一些主要功能介绍:•实时监控:显示传送带的实时运行情况,包括物品位置、传送带速度、故障报警等信息。

•任务调度:对传送带上的物品进行调度,包括新任务的创建、任务优先级的设置和任务的执行等。

•运行参数设置:设置传送带的运行参数,包括速度、加速度、停顿时间等。

•报警管理:管理传送带的报警信息,包括查看历史报警记录和设置报警规则等。

•数据统计:对传送带的运行数据进行统计和分析,包括运行时间、平均速度、故障次数等。

•系统设置:对软件进行一些基本设置,如语言选择、用户权限管理等。

7. 实时监控环形传送带在主界面的实时监控功能中,可以实时查看传送带的运行情况。

RunCam Split 4 Flight Controller 用户指南说明书

RunCam Split 4 Flight Controller 用户指南说明书

Zum Beispiel, dass die Split 4 an uart3-Schnittstelle des Flight Controlanschließen: Schließen Sie den Flight Control an Computer an, Öffnen Sie die Software des Flight Control (Entsprechend der Art der Flugsteuerung Firmware, wählen Sie den entsprechenden Parametrierdaten Software CleanFlight Configurator oderBetaFlight Configurator), wählen Sie RunCam Device in Peripherals von UART3, danach klicken Sie bitte Save And Reboot.Gehe zur Modi-Schnittstelle in Software des Flight Control. Am unteren Rand der Seite, können Sie CAMERA WI-FI, CAMERA POWER, CAMERA CHANGE MODE sehen Binden Sie die Funktionen auf jedem verfügbaren Kanal. Zum Beispiel:· CAMERA POWER : Eine Aufnahme starten/anhalten . Im OSD Einstellung können Sie das nächste Element auswählen.· CAMERA CHANGE MODE : Zwischen den zwei Modi wechseln: Video/OSD-Einstellungen . Im OSD Einstellung können Sie das Menü verlassen.· Binden Sie die CAMERA POWER und AUX2, im Bereich von 1900 bis 2100.· Binden Sie die CAMERA CHANGE MODE und AUX3, im Bereich von 1900 bis 2100.Wählen Sie Ihr Modell auf der Fernbedienung, gehe zur MIXER Menü um die Taste der Fernbedienung und Spezifischer Bindungskanal zu binden. opentx 2.2.0 zum Beispiel,SA, SB, SD bindet sich jeweils mit CH5, CH6 und CH7.SVersorgen Sie die Split4 und Flight Controler ein· Bewegen Sie SA nach unten, um eine Aufnahme zu starten/anzuhalten.· Bewegen Sie SD nach unten, um zwischen den zwei Modi zu wechseln: Video/OSD-Einstellungen.Bitte besuchen Sie:https://·Anweisungsdiagramm·Sender Schaltplan·Flight Controler-Einstellungen·Technischer SupportDie Vorbereitungen· Firmware: BetaFlight Firmware (≥3.2.0),CleanFlight Firmware(≥2.1.0) , KISS Firmware (≥1.3-RC30) oder INAV Firmware (≥1.7.3).· Jede verfügbare UART-Schnittstelle auf Flight Controler1. Bitte schließen Sie die Split 4 an uart-Schnittstelle des Flight Controler an.2. Lassen der Flight Control die Split 4 identifizieren3. Kamerasteuerfunktionen und Kanalbindungs4. Fernbedienungsschalter und Bindungskanal5. TestAn-/Aus-Schalter bzw. AuslöseknopfSensoranschlussMicroSD KartenschlitzWarning: Stromeingang ≥1A (nicht mit VTx versorgt)Seite ASeite BVCC +(5-20V)GND VideoRXTXOSD-Taste·Grundlegende Kamera-Bedienung·Anschlussdiagramm des Linse-Moduls。

unityprol编程入门指南

unityprol编程入门指南

M340使用Unity Pro XL编程入门第一步、Unity Pro XL的硬件组态及编程界面建立1.0 Unity Pro XL编程软件打开界面打开Unity Pro XL编程软件显示如图(1)所示图(1)第二步、可编程界面的建立鼠标点击图(1)箭头所指位置的“文件”出现下拉菜单,选择“新建”即建立可编程界面如(2)所示。

首先进行与图纸对照正确选择CPU类型。

如图纸设计的CPU类型为BMX P340 2010,在图(2)所示选择列中用鼠标双击BMX P340 2010,即完成可编程界面的建立。

图(2)第三步、硬件组态的建立第二步完成后将出现图(3)所示界面即可进行硬件组态、序的建立等。

首先进行硬件组态。

3.1 主站硬件组态的建立鼠标双击图(3)的左边树型列中“PLC总线”,操作位置见图(3)箭头所指,将出现主站硬件组态配置界面图(4)。

图(4)在图(4)界面箭头所指位置用鼠标双击或鼠标右键操作。

在上图图(6)箭头所指位置为从站硬件组态及地址配置,鼠标双击将出现图(7)所示界面,在箭头所指位置进行正确选择需要配置的从站,从站与主站硬件组态的配置步骤基本一致。

图(7)3.2.2 从站中岛(OTB_ISLAND)的建立当“CANopen”组建从站时,如果从站存在OTB1 CODM9LP连接的其它I/O模块时就需要组建一个岛.其组建需要通过两步来实现.首先,参照从站硬件组态建立的方法,见图(7)箭头指向位置,“CANopen子站”的下拉列中选择“分布式I/O”,在“分布式I/O”下拉列菜单中选中“OTB_ISLAND”,即完成“岛”的建立。

见图(8)图(8)表示的是“OTB_ISLAND”岛在“从站”中的地址为“1”。

完成以上操作后还需要对“OTB_ISLAND”岛进行总站与从站中“OTB_ISLAND”岛的I/O映射配置,进行I/O映射配置需要使用“Advantys_2.0”软件进行实际的硬件组态配置然后进行PDO导入方完成对“OTB_ISLAND”岛的建立。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

HANDS-ON COMPUTING WITH RunGTAP AND WinGEMTO INTRODUCE GTAP AND GEMPACKKen Pearson and Mark Horridge1April 2005In this document we give several examples of hands-on computing you can carry out to familiarize yourself with the RunGTAP and GEMPACK software. In Part A, the Examples are directed at finding out about the data in a GTAP data base. In Part B, the Examples are directed at carrying out simulations with GTAP. Part C describes how you can make a new version (that is, aggregation of the GTAP data base) for use with RunGTAP. Part D assumes you already know something of GEMPACK -- it tells how you can adapt and run your own economic models within RunGTAP. In Part E, we tell you how can find out more about RunGTAP and GEMPACK, and mention hands-on computing you may like to try with models other than GTAP. Appendix A (not used at the Short Course) gives detailed instructions for carrying out GTAP simulations under WinGEM rather than via RunGTAP.This document is designed for use at the GTAP Short Course held June 2005 in Crete. It can also beused after the course by participants in conjunction with the RunGTAP and GEMPACK software theytake home with them from the course. And, with certain limitations mentioned in the next paragraph,this document will also be very useful to others learning to use RunGTAP.This document assumes that you have(a)a recent version of RunGTAP2 (version 3.10 or later, dated July 2001 or later), and(b)a Pentium PC with a hard disk, at least 32 Mb of RAM (memory), running Microsoft Windows95, 98, ME, NT, 2000 or XP.(c)a Source-Code or Executable-Image version of Release 7.0 or later of GEMPACK3, together withvarious GTAP-related files in a directory \GTAP on your computer.4If you do NOT have item (c) -- GEMPACK licence and course files -- you will be able to carry out most but not allof the activities described in this document. Boxes like this in the text indicates which sections require aGEMPACK licence. If you do not have a licence, either skip over these sections, or read through them withouttouching the keyboard. Activities using WinGEM require a GEMPACK licence.A s you read this document, you will use RunGTAP and WinGEM to work through examples designed to familiarize you with the software and, perhaps more importantly, the GTAP model. RunGTAP is a customized windows program written by Mark Horridge which makes it easy for youto solve GTAP interactively. WinGEM is the Windows version of the GEMPACK general-purpose software for implementing and solving general and partial equilibrium models.1 Pearson and Horridge work at the Centre of Policy Studies and Impact Project, Monash University, Clayton Vic 3800, Australia2 During the GTAP Short Course held in June 2005 in Crete, participants will be working with version 3.40 of RunGTAP. RunGTAP is a Windows program for solving the GTAP model. RunGTAP is written by Mark Horridge, Centre of Policy Studies and Impact Project, Monash University. RunGTAP provides a customised Windows interface to various GEMPACK programs for solving GTAP. Its Help..About command displays version information.3 During the GTAP Short Course held in June 2005 in Crete, participants will be working with (and will take away a copy of) the Limited Executable-Image Version of Release 9.0 (April 2005) of GEMPACK. GEMPACK is produced at, and distributed by, the Centre of Policy Studies and Impact Project, Monash University. GEMPACK is copyrighted by the Impact Project and KPSOFT. The Demonstration Version of GEMPACK can be obtained free from the World-Wide Web at address .au/policy/gempack.htm4 The relevant files are those supplied to participants on the course disks.T he instructions in this document are quite detailed. Our aim is to give sufficient detail to enable a new user of this software to work through the examples relying solely on this document.T his document is closely related to the Hands-on document “Hands-on Computing to Introduce GEMPACK and GTAP” referred to in chapter 6 "Implementing GTAP Using the GEMPACK Software" in the book Global Trade Analysis: Modeling and Applications, edited by Thomas W. Hertel - see Hertel (1997) in the References. [Below we refer to this book as "the GTAP Book".] The GTAP book Hands-on document uses an earlier (pre-Windows) version of GEMPACK and GTAP data based on an earlier version (version 2) of the GTAP data base. Otherwise the examples there are very similar to those in this document. The major difference is that this document assumes that you are working under Windows whereas the GTAP book Hands-on document requires you to work under DOS (or in a DOS box of Windows).I n this document we assume that you have installed RunGTAP and WinGEM on your computer. Detailed instructions for doing this are available elsewhere in the material distributed at the Short Course.W e are grateful to Martina Brockmeier, Betina Dimaranan, Jill Harrison, Ken Itakura, Alejandro Nin Pratt, Padma Swaminathan and John Whiteman for helpful feedback on earlier versions of this document.2A. USING THE SOFTWARE TO FIND OUT ABOUT THE DATAT he Examples here focus mainly on the 3x3 data set in RunGTAP version ACORS3X3. In sectionA.1 (Examples A1-A4) you will use RunGTAP to look at the data in a GTAP data set directly. Insection A.2 (Examples A5-A6) you will look at GTPVEW.TAB which is used to report many useful pieces of information from a GTAP data set. In section A.3 (Examples A7-A10) you will learn howto use WinGEM and the GEMPACK program TABLO to compute other information from a GTAPdata set. In section A.4 (Examples A11-A12) you will calculate the sizes of various distortions (for example, import tariffs).S tarting RunGTAPT o see RunGTAP in action, double-click on the RunGTAP icon on your desktop. You will see a screen as below:R unGTAP: ACORS3x3/GTAP------------------------------------------------------------------------------------------------------------------F ile Copy View Version Tools Help------------------------------------------------------------------------------------------------------------------T itle RunGTAP Version Closure Shocks Solve Results------------------------------------------------------------------------------------------------------------------R unGTAP uses a tabbed notebook or card index interface. The first 2 pages (Title and RunGTAP) contain general information. The 3rd page contains information about the current version, theparticular data aggregation of GTAP the program is using. The remaining 4 pages relate tosimulations – we postpone those until Part B below.C hoosing the ACORS3X3 versionI n this document (and for the first 3 days of the GTAP Short Course) you will work with the 3-commodity, 3-region aggregation of the GTAP data referred to as version ACORS3X3.5 [Later youcan use the other versions of the data available via RunGTAP.]T o make sure that you are using this version click onV ersion | Changei n RunGTAP’s main menu. [That is, first click on Version in the main menu (not on the Versionpage of RunGTAP) and then, in the drop-down menu that appears, click on Change. We use |often in this document to indicate similar choices.]T hen click on ACORS3X3 in the “Load version” list that appears, and then click on OK . Read thefirst few lines of the information about this version on the Version page of RunGTAP.A.1 Examining the Data Directly using RunGTAPT here are three data files associated with each GTAP version. These areThe Global data set (I/O for each region, trade data etc.) [GTAPDATA]Set information, giving region and commodity names in aggregation [GTAPSETS]Parameter values [GTAPPARM]5 These come from the preliminary release of version 4 of the GTAP data. This data was first used in the African Short Course held in January 1998 in Johannesburg, South Africa.3T he names GTAPDATA etc are those used in the TABLO Input file GTAP.TAB which lays downthe theory of the GTAP model.Example A1 – Viewing the global dataT his global data file contains large amounts of data including the input-output data for each regionand trade data.T his file is given the (logical) name GTAPDATA in the TABLO Input file GTAP.TAB which lays down the theory of GTAP. To see what information is on this global data file, selectV iew | TAB files | Main Model[Here “Main Model” is the first of several menu options which appear beside “TAB files” once you click on it. You need to slide your mouse to the right after clicking on “TAB files” and let go of the mouse button once “Main Model” is highlighted.]A text editor will appear, with GTAP.TAB visible. This will probably be the simple editor/viewer which is built in to RunGTAP6. Its main menu contains the following commands:B ack to RunGTAP Edit Search HelpA striking (sometimes annoying) feature of this editor is that you have to close it before resumingany other work with RunGTAP.N ow search for GTAPDATA. [To search in the RunGTAP editor, select Search | Find... from the editor’s menu, then type in the word(s) you wish to search for, and finally click on Search7. Usethis technique to search for GTAPDATA. To search again after you have found the first occurrenceof “GTAPDATA”, you can either select Search | Search again from the editor’s main menu oryou can touch the F3 key (near the top of your keyboard)8. Use this technique to see the first 3-4 occurrences of GTAPDATA.]Y ou will see that various pieces of data are read from this file.O ne of these is the array VDPA(i,r) whose values are held at header "VDPA". To see this and to find out what data is stored at this header and associated with VDPA(i,r) in GTAP.TAB, move to the startof GTAP.TAB (use Ctrl+Home, that is, hold down the Ctrl key and touch the Home key). Then search for VDPA. You will see that VDPA(i,r) is declared as a COEFFICIENT and that it holds the Value of Private consumption expenditure on Domestic commodity i in region r, valued at Agents' prices. By searching again for VDPA you will see that this data is read from file GTAPDATA at header "VDPA".N ow return to RunGTAP by clicking on Back to RunGTAP in the editor’s menu.T o see the VDPA data in the 3x3 aggregation, click onV iew | Base Data | Core Datai n RunGTAP’s menu. [Again “Core Data” appears to the side of “Base Data”.][RunGTAP calls the global data file the “Core Data”.]6 It is possible to set RunGTAP up so it uses the TABmate editor. These intructions assume that you are using the default editor. Use RunGTAP's Tools...Options command to switch back to the default editor if necessary.7 Alternatively you can hit the “Enter” key on your keyboard instead of clicking on “Search”.8 This F3 “keyboard shortcut” is indicated on the right-hand side of Search again under the RunGTAP editor’s Search menu.4T his will start the program ViewHAR9 running. ViewHAR will open the global data file for the ACORS3X3 version and show its contents on the Contents screen.E ach of the rows corresponds to a different array of data on the file. Look at the column under the heading Name to see what these arrays are10.Header Type Size Name1 DVER RE 1 Version of GTAP data2 VTWR RE MARG_COMM*TRAD_COMM*REG*REG Value of transport services at …(etc.)14 VDPA RE TRAD_COMMxREG Intermediates - Household Domestic Purchases atAgent’s Prices(etc)Y ou can see that array number 14 is the data at Header "VDPA". The data at this header is the valueof households' domestic purchases at agents' prices. To see the actual data, double-click on theVDPA row. What is the value of EU households' domestic purchases of manufactures at agents'prices? What about purchases of food and agriculture by households in ROW? And for SSA? [Theunits are millions of 1995 US dollars.]N ow click on Contents in ViewHAR’s main menu and you will return to the list of contents of the arrays in this global data file. Look at the VDFM row (array number 11). You can see that the associated data is a 3-dimensional array of size TRAD_COMMxPROD_COMMxREG and thatthis is described as "Intermediates - Firms' Domestic Purchases at Market Prices". To see the actual data, double-click on this VDFM row. You see a 3x4 matrix of data (plus a totals row and a totals column) with the rows labeled "Food", "Mnfcs" and "Svces" and the columns labeled "Food", "Mnfcs", "Svces" and "CGDS". These must be the elements of the sets TRAD_COMM (tradeable commodities) and PROD_COMM (produced commodities) respectively. What about the 3rddimension REG of this data? The clue is given by the 3 drop-down lists near the top right-handcorner of the screen which sayA ll TRAD_COMM All PROD_COMM Sum REGr espectively. Because your computer screen is 2-dimensional, what you are seeing are the VDFMvalues summed across regions (REG). What is the total across all regions of the value at marketprices of domestic purchases of services by the food and agriculture firms? What about of manufactures by the capital-goods firms?H ow can you see the value of firms' purchases in just one region, for example in SSA? To see this,click on the Sum REG drop-down list box near the top right-hand side and select SSA from the options. The data will change and now you are seeing how much is purchased just by firms in theSSA. What is the value at market prices of purchases of services by manufacturing firms in the SSA? What about by manufacturing firms in the EU?T here are lots of ways of viewing 2-dimensional slices of a 3-dimensional array. To see another,click on the TRAD_COMM drop-down list box (the first of the three) and selectS um TRAD_COMM.N ow click on the REG list box and select All REG. What does the number in row "food" andcolumn "ROW" indicate? What is the total value (at market prices) of all intermediate inputs intothe services sector in the EU?9 ViewHAR is a windows program for viewing and modifying data held in GEMPACK Header Array files.10 The arrays may be ordered differently from the list in the text. You can set ViewHAR up to either list the headers alphabetically, or to list them in the order they were written to file. ViewHAR's File..Options menu command can be used to customize the display in various ways.5W hat is the value at market prices of intermediate inputs of manufactures to the capital goods sectorin ROW? [There are various ways you can see this. One is to select "ROW" in the REG list box.Another is to select "CGDS" in the PROD_COMM list box.]R ecall that you are looking at the TRAD_COMMxPROD_COMMxREG data at header "VDFM" inthe global data set. To check what data is read from this header according to the description of themodel in GTAP.TAB, find RunGTAP on your screen11, and select View | TAB files | Main Modelfrom RunGTAP’s main menu to open file GTAP.TAB. Search in it for VDFM until you find thelines saying which data is read from this header (it is the values of Coefficient VDFM(i,j,r) wherei is the tradeable commodity, j is the produced commodity (firm) and r is the region). Return tothe top of the file (use Ctrl+Home) and then search again for VDFM. You will see indeed thatVDFM(i,j,r) is described as "purchases of domestic i for use in j in region r". Now close GTAP.TABvia Back to RunGTAP.V iewHAR is able to show you some shares, as well as the actual data. To see this, return toVeiwHAR and then to its Contents page (click on Contents) and then look again at the VDPA databy double-clicking on its row. Notice the two drop-down list boxes near the top left-hand corner ofthe ViewHAR window. The first probably says None at present and the second shows a figure (between 0 and 6). The first of these is able to show row, column or matrix shares for the matrix onthe screen. [We refer to it as the shares list box.]I n the shares list box select Row. You will see that the numbers change to give the row shares (withthe total across each row being 1). Change this to Col and then Matrix and check what you get.Now return it to None so that you see the actual data again.T he second drop-down list box in the top left-hand corner controls the number of figures you seeafter the decimal point in each number. Try changing it to see this.Now close the ViewHAR window by selecting File | Exit from ViewHAR’s (not RunGTAP’s) menu.B inary files (such as Header Array files) cannot be looked at in a text editor. To see this, selectView | Other Text File from RunGTAP's main menu and open BASEDATA.HAR (the Core datafile) by typing this name "BASEDATA.HAR" in the "File name:" box provided. RunGTAP tells youthat it is unable to open this as a text file (and even suggests that you try to open it with ViewHAR).E xample A2 - Viewing the set informationT he set information tells which regions and commodities are represented in the current aggregationof the data. This set information file is given the (logical) name GTAPSETS in the TABLO Inputfile GTAP.TAB which lays down the theory of GTAP. To see what information is on this set information file, select View | TAB files | Main Model to open file GTAP.TAB. Then search for GTAPSETS. You will see that•the names of the regions (the SET is called REG) are held at header "H1",•the names of the tradeable commodities (the SET is called TRAD_COMM) are held at header "H2", and•there are several other SETs defined.N ow close GTAP.TAB via Back to RunGTAP.11 One way of doing this is to click on RunGTAP in the Windows Taskbar which is probably along the bottom of your screen.6T o see the actual data in the sets file for this version, click on View | Sets . Again ViewHAR starts running and shows you the Contents list, as shown below.H eader Type Size Name1 DVER RE 1 Version of GTAP data2 H1 1C3 length 12 Set REG Regions in the model3 H2 1C 3 length 12 Set TRAD_COMM TRADED COMMODITIES4 MARG 1C 1 length 12 Set MARG_COMM margins commodities5 H9 1C 1 length 12 Set CGDS_COMM capital goods commodities6 H6 1C 5 length 12 Set ENDW_COMM endowment commoditiesT he data type "1C" means character data (i.e., lists of names). The "3 length 12" means that there are3 names of (maximum) length 12 held at header "H1".T o look at the names at header "H1", double-click on this row in the Contents. What are the 3regions called? Return to the Contents (click on Contents) and look at the data at header "H2". Asyou know from GTAP.TAB (look at it again if you are not sure) these are the names of the 3 traded commodities.C lose this ViewHAR window by selecting File | Exit from ViewHAR’s menu.E xample A3 - Viewing the parameter valuesL ike the global data and set information, the parameters data for any GTAP data set are held on a Header Array file. You can see the parameter values in ViewHAR by clicking onV iew | Parameters .T hen examine ESUBVA at header "ESBV". You will see that there are 4 values (one for each commodity in PROD_COMM). Look at these values. To find the significance of these values, you need to look in GTAP.TAB. To do that, return to RunGTAP12 and then click on View | TAB files | Main Model . Search there for ESUBVA and you will see that these four values are the elasticities of substitution between all 5 endowment factors (capital, labor etc) in the production of value added for each such commodity.S imilarly, you can look at the values of the other parameters via View | parameters and can always check on the use of the data by looking at the TABLO file for the model.Y ou can edit the parameters file within ViewHAR. To test this, again click View | parameters and examine the ESUBVA values. Right-click on the value for "food" and type in a new value. Then use File...Save as Header Array File to save the modified name with a new name "special.prm". Alternatively use File...Close without saving changes.E xample A4 (optional) - Looking at the data in other GTAP versionsD uring the course you may also work with a 5-region, 7-commodity aggregation of the GTAP datato analyse a Free Trade Agreement between Sub-Saharan Africa and the EU. This is the version named ASA7X5 . Change to this version (via Version | Change ) and look at the global data, thesets data and the parameters data for this version. [You can follow the methods in Examples A1-A3 above.] In particular, which regions and commodities are recognized in this aggregation of the data?12 You can switch between ViewHAR and RunGTAP by using the Windows Task bar at the bottom of your screen.7A.2 Using GTAPVIEW to report various aspects of the dataI f necessary, start RunGTAP by double-clicking on its icon. Make sure that version ACORS3X3 is selected.E xample A5 – GTAPVIEW with the 3x3 data in ACORS3X3G TPVEW.TAB13 contains instructions to read certain parts of the global data, to compute various useful pieces of information from it, and then to write this useful information to another file. To see this, select View | TAB files | GTAPView from RunGTAP’s main menu. Then, in the editor, search for the first 2 or 3 occurrences of GTAPDATA. You will see that this part of GTPVEW.TAB looks rather similar to the corresponding part of GTAP.TAB which you looked at earlier.T he information in GTPVEW.TAB is classified into 4 groups:•Macro variables•Trade, Transport and Protection•Commodities•SectorsYou are going to look at the GDPEXP, GDPSRC and CURRENTACCT values in this Example. Search for GDPEXP, GDPSRC and CURRENTACCT so that you know what information these COEFFICIENTs will hold.Click on Back to RunGTAP and then on View | Base Data | GTAPView Output . This opens a ViewHAR window which displays the contents of the GTAPVIEW output.(a) GDPEXP and GDPSRC valuesThe long names associated with the various arrays of data produced by GTAPVIEW make it clearthat the GDPEXP values are at header AG01 (the first row on the Contents page).To see the GDPEXP values, double-click on this AG01 row in the Contents page. What is the value of GDP from the expenditure side in Sub-Saharan Africa? How much of this comes from household consumption, how much from exports? What about in the EU? Leave this ViewHAR window open.To see how some of these are calculated, switch back to GTPVEW.TAB by finding RunGTAP’smain menu and clicking again on View | TAB files | GTAPView . First search for GDPEXP andfind the formula for GDPEXP(r,”cons”); you can see that the “cons” values come from the values of Coefficient PRIVEXP. Go back to the top of GTPVEW.TAB and search for PRIVEXP to see how these values are calculated. [You might like to repeat this for some of the other parts of GDPEXP.] Leave GTPVEW.TAB open in the RunGTAP editor.Switch back to the ViewHAR window to see what the value of total GDP from the expenditure sidein Sub-Saharan Africa.Then click on Contents (or alternatively, double-click any where in the data part of the ViewHAR window) to return to the Contents list.13 Following GTAP tradition, we refer to the GTAPVIEW program, even though the RunGTAP file containing its source code is now named GTPVEW.TAB. Pronounce "GTPVEW" the same as "GTAPVIEW".8Next we want you to look at the values for GDP from the income side (denoted by GDPSRC). Howmuch of this in Sub-Saharan Africa comes from factor income? How much from taxes? What istotal GDP from the income side in Sub-Saharan Africa?Does total GDP from the income side in Sub-Saharan Africa equal total GDP from the expenditureside? What about in the EU?14(b) CURRENTACCT valuesRecall that the formula for calculating CURRENTACCT is (look again in GTPVEW.TAB if necessary):Formula (all,r,REG)(all,m,MARG_COMM)CURRENTACCT(r,"exp",m) = sum(s,REG, VXWD(m,r,s)) + VST(m,r);Formula (all,r,REG)(all,i,NMRG_COMM)CURRENTACCT(r,"exp",i) = sum(s,REG, VXWD(i,r,s));Formula (all,r,REG)(all,i,TRAD_COMM)CURRENTACCT(r,"imp",i) = - sum(s,REG, VIWS(i,s,r));Thus the CURRENTACCT(r,”exp”,i) values are obtained by summing the VXWD(i,r,s) valuesacross the importing regions s and then adding transport costs. [The formula is slightly different ifthe commodity is a margins commodity – see the first formula above.] TheCURRENTACCT(r,”imp”,i) values are the negative of the VIWS(i,s,r) values summed across the exporting regions.To look at the CURRENTACCT values, return to the Contents list (in the ViewHAR window) andthen double-click on the row at header AG05. How much do exports of all commodities contribute tothe current account in Sub-Saharan Africa? By how much do imports of all commodities reduce this current account? What is the current account balance for Sub-Saharan Africa in the base data? What about for the EU?How much do exports of food and agriculture contribute to the current account in Sub-SaharanAfrica? [To see this you will need to change the Sum/All boxes near the top right-hand corner of ViewHAR. Currently they probably15 readAll REG All CURACCT Sum TRAD_COMMOne way of altering these to see the desired result is to change All CURACCT to exp and then to change Sum TRAD_COMM to All TRAD_COMM.] What about exports of manufactures? Byhow much do imports of food and agriculture reduce the current account in Sub-Saharan Africa?What about in the EU?Now exit from ViewHAR. Also exit from GTPVEW.TAB via Back to RunGTAP . Then close RunGTAP via File | Exit (or just click on the X in the top right-hand corner of RunGTAP).Example A6 (optional) - GTAPVIEW with other dataStart RunGTAP running. Change to the ASA7X5 version (via Version | Change ) and look at the GDPEXP, GDPSRC and CURRENTACCT values based on this 5-region, 7-commodity aggregationof the GTAP data. For example, the GDPEXP values here for EUNION should be (essentially) thesame as with the 3x3 data in Example A5 for EU. But now you can see the separate values for14 In EU, total GDP is shown as 8208664.0 from the income side and 8208662.0 from the expenditure side. The software you are working with only stores data accurately to about 6 or 7 figures; this is the reason for the small difference in these two figures.15 For 3-dimensional matrices, ViewHAR uses your previous choices to anticipate which slice or subtotal of the matrix you would like to see.9regions SAFRICA (South Africa), RESTSAF (Rest of Southern Africa) and RESTSSH (Rest of Sub-Saharan Africa) which are combined into SSA (Sub-Saharan Africa inclusive of South Africa) in the3x3 data (as in Example A5). Exit from ViewHAR and RunGTAP.Summary: Data and Consequences of the DataWhen you want to find out something about a particular GTAP data set (or version), you have the choice of looking at the data directly using View | Base Data | Core Data (as in section A.1 above)or looking at the GTAPVIEW summary of the data using View | Base Data | GTAPView Output(as in section A.2 above). You will look at the Core Data if you want to look at something held on the actual data base (for example, the VDPA values) but will need to use the GTAPVIEW summaryif what you want to know has to be calculated from the actual data (for example, the value of GDP in each region).16Sometimes you need to know about consequences of the data which are not shown in the GTAPVIEW summary. Then you may need to write your own formulas to calculate the numbers you need. This is the idea behind section A.3 below.16 Note that ViewHAR can also show some shares (see the end of Example A2). Strictly speaking these shares are consequences of the data.10。

相关文档
最新文档