Wednesday, March 21, 2012

GraphViz Setup

I am currently working on a project to try and get Graphviz working to show graphs online.  These are some sights that I find usefull.

The main graphviz site.
http://www.graphviz.org/ 

A site that shows how to use URL in Graphviz charts
https://qed.princeton.edu/main/Graphviz 

Showing Graphs on the web

  1. JPGraph is a PHP Graph Renderer
    1. http://jpgraph.net/
  2. Image PHP
    1. http://pear.php.net/manual/en/package.images.image-graphviz.about.php 
    2. http://stackoverflow.com/questions/2241382/php-graphviz-documentation 
  3. FSM GraphVIZ
    1. http://pear.php.net/package/FSM/docs/latest/FSM/FSM_GraphViz.html 
  4. 45 free graph tools
    1. http://www.smashingapps.com/2011/08/26/45-free-online-tools-to-create-charts-diagrams-and-flowcharts.html 
  5. Giffy
    1. http://www.gliffy.com/examples/ 
  6. Yworks
    1. http://www.yworks.com/en/company.html 
  7. A list of graph programs
    1. http://www.narga.net/most-attractive-diagram-chart-and-graphs-online-creator/ 





GraphViz Help File

  1. To create a URL
    1. http://www.graphviz.org/content/attrs#dURL 
    2. Need output type to be SVG or i*map
    3. List the node and then the URL tag in brackets
    4. "Sample Node Name"[URL="http://www.google.com"]

Wednesday, March 14, 2012

Natural Gas Prices

Looking at the price of natural gas and trying to find out if there is a natural floor.

The Math
Gas is measured in MMBTU which is 1 million BTU (British Thermal Units).  A gallon of oil has 140,00 BTUs.  A barrel of oil has 42 gallons or 5,880,000 BTUs.
  • One cubic foot of natural gas produces about 1,030 BTU
http://askville.amazon.com/BTUs-gallon-oil/AnswerViewer.do?requestId=5286513

As of March 14, 2012, a barrel of oil is between 105 and 124.  http://www.oil-price.net/  115/5.88= 19.557 / MMBTU

The price of Natural gas is $2.29/ MMBTU.  http://www.wtrg.com/daily/gasprice.html.

Therefore from an energy perspective, natural gas is almost an order of magnitude cheaper than fuel oil.  If you are choosing a heater for your home, this number is significant.

The lifting price of natural gas is ???? http://www.time.com/time/business/article/0,8599,1918674,00.html