This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

movespy simplifies interaction with MOVES and traffic microsimulation for project-level analysis.

Dependencies

movespy depends on:

Installation

Download the installer and run it.

Also edit the movespy_settings.py file:

  • moves_dir: a string that is the path to you MOVES installation directory
  • moves_db: a string that is the name of your MOVES database (assumed to be local)

Usage

The following code executes a complete MOVES run and calculates the total CO emissions:

>>> links = {1: {'grade': -1.2,
...              'length': 0.25,
...              'road_type': 5,
...              'source_distr': {21: 1.0},
...              'speed': 34,
...              'volume': 400}}

>>> activity =  {'age_distr': {21: {5: 1.0}},
...              'county': 50027,
...              'day_type': 5,
...              'hour': 16,
...              'month': 6,
...              'year': 2015,
...              'links': links}

>>> options = {'detail': 'average'}

>>> import movespy.moves
>>> moves = movespy.moves.Moves(activity, options)
>>> emissions_out = moves.run()
running MOVES ...
>>> total_CO = sum([row['quantity'] for row in emissions_out if row['pollutant'] == 2])
>>> print total_CO
102.772

This code calculates VSP and operating mode for a vehicle trajectory dataset:

>>> veh = [1,1,1,1,2,2,2,3,3,3,3,3]
>>> speed = [3.,6.,1.,3.,8.,5.,6.,3.,9.,1.,3.,9.]
>>> grade = [1.,2.,-3.,1.,2.,1.,3.,1.,-2.,3.,-4.,-2.]
>>> mass, mass_factor, alpha, beta, gamma = 2., 1.5, 0.16, 0.0020, 0.00049

>>> import movespy.trajectory

>>> vsp, opmode = movespy.trajectory.getVSPOpMode(veh, speed, grade, mass,
... mass_factor, alpha, beta, gamma)
>>> print vsp[:3]
[ 0.1462389   5.79980985 -1.45965811]
>>> print opmode[:3]
[12 13  0]

For detailed instructions and examples see the user manual.

Release History

Release History

0.1.7

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.6

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
movespy-0.1.7.win-amd64.exe (255.4 kB) Copy SHA256 Checksum SHA256 any Windows Installer Sep 28, 2015
movespy-0.1.7.zip (30.7 kB) Copy SHA256 Checksum SHA256 Source Sep 28, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting