Wednesday, 11 October 2017

Optimising with SNOPT

I am trying to get the SNOPT program installed and working, so I can run rocket trajectory optimisations such as this

I found that there is a download available for the student snopt from Netlib. This is version 7.5-1.2 from June 2015.


$ ./snopt_macos --version
Student SNOPT 7.5-1.2 (Jun 2015) (Darwin 10.8.0 x86_32), driver(20150821), ASL(20160325)


Code can also be downloaded from http://ftp.uni-bayreuth.de/math/netlib/ampl/solvers/ although this will need compiling, and not sure which versions this is. It appears to be verison 7.3 or later from the release notes.

Monday, 20 June 2016

Woodworking Books Library

Physical Books

Making Antique Furniture Reproductions - Franklin H Gottshall
Shop Drawings of Shaker Furniture - 1,2,3 - Handberg

Kindle Books

Making Authentic Craftsman Furniture - Gustav Stickley
Making Furniture Masterpieces - Franklin H Gottshall
Making uthentic Shaker Furniture - John G Shea

Sunday, 20 September 2015

Survival Library Books

The aim is to collect a list of all the useful books, particularly the technical ones, or websites which have the information necessary if the Internet and life as we know it stops. There are other sites which have books out of copyright, however so much has changed in the last 100 years that I feel it is necessary to have modern books to keep up to date.


Workshop Manuals

  1. David Gingery Workshop Manuals (7 books)
  2. 507 Mechanical Movements: Mechanisms and Devices
  3. Basic Machines and How They Work (Navy Education)
    1800 Mechanical Movements, Devices and Appliances

    Mechanisms and Mechanical Devices Sourcebook, 5th Edition Kindle Edition

      


Wednesday, 2 October 2013

Saddleback Large Thin Briefcase in Tobacco brown

I recently bought the Saddleback Large Thin Briefcase in the tobacco brown colour, and it arrived yesterday (2nd October 2013). The leather is amazing and it is an all around beautiful bag. The only problem is that it looks too big for my body size. I am 5'9 (178cm) and 150lb (70kg). Although I wanted the larger size to have the best fit for a 15" Macbook Pro I am just not tall/heavy enough for the large size to actually look good on me.

I am therefore trying to sell this beautiful bag. Currently it is listed on Gumtree.com.au at Saddleback Large Thin Briefcase - Tobacco

The briefcase has never been used, and is still in the original plastic wrapping. I have taken it out to have a look only. Saddleback briefcases are considered to be one of the best made leather briefcases on the market. With a 100 year warranty (even if you weren't the original purchaser) these are made to last. No zippers or snaps which will break, just high quality leather with double stitching and tough pigskin lining. These are the briefcases that will last you a lifetime. The leather is the best quality full grain leather, it looks and smells fantastic. The bags will look even better in a few years time, just have a look at some of the pictures online. Also comes with the free keychain that was included in the box. 

Exterior: 
16 ¾” W x 11 ½” H x 4 ½” D 
425mm W x 290mm H x 115mm D 

Interior: 
15 ¾” W x 11 ¾” H x 4” D 
400mm W x 300mm H x 100mm D 

A Review from Primer Magazine

The full product deatils are on the Saddleback Leather site.




Product Picture from Saddleback


Product Picture of interior from Saddleback


Front view

Side and back view

Back view

Front view with measuring tape for scale


Saddleback logo on the front strap

The first two photos are from the Saddleback website. About two days ago (30th Sept 2013) they updated the tobacco colour leather, so what you see on the website now is slightly different, although all the other details such as size are the same. The other pictures are of the actual bag. I will sell it for $450.

Can pick it up from me, or arrange to meet me somewhere and I can drop it off after work.

Thursday, 18 April 2013

GPOPS - Optimisation Software

One of the major things missing from the CADAC4 software is the ability to calculate the optimum trajectory. This comes down to finding the optimal path given the known initial conditions (position and velocity) and the desired final conditions (orbital velocity and height). I have been doing a bit of reading of research papers dealing with this problem, however making the leap from the theory to the actual coding has been difficult. Mainly because I am not good enough at the maths to understand it properly.

Since it is unlikely that I will ever be able to code this myself, I did some more searching for an existing solution. I found the GPOPS software, which is a Matlab program for solving these sort of optimal control problems. Although there is still a lot to learn, one of the examples is a rocket launch with multiple stages. My aim is to learn this example and then create a clone of it with the DH-1 details. The input details will be determined by running CADAC4 and getting the velocity and position at stage separation. These will then be the inputs for the GPOPS run to determine the optimal path. It will be interesting to see how close the figures are to the book numbers! I will post some diagrams when I have gotten this done.

Running GPOPS

  1. GPOPS can be downloaded from Sourceforge. I am running it under Matlab R2009b under Ubuntu.
  2. Ensure that you have a large amount of swap space. I have had to increase mine to 16Gb.
  3. Run the 'gpopsSetup' command from the unzipped directory.
  4. Change to the 'examples/launch' directory and run 'launchMain' to start the run.

Wednesday, 10 April 2013

Developement Pathway to the DH-1

The two biggest barriers to getting the funding for building the DH-1 are:

  1. The acceptance of simple engineering in the rocket area
  2. Getting over he believability hump

Simple Engineering

The simple engineering approach is to cut back all the unnecessarily complex approaches to aerospace engineering and focus on building things that will work reliably. Accept the compromises where they need to be made instead getting bogged down trying to develope new technology to solve all the aspects of a problem. Focusing on the achievability of the whole mission, not any single piece of technology. An example of this is the design of the U2 spyplane with its unstable flight characteristics and unusual landing gear, but over the last 50  years it has proven to be one of the most effective ways of doing that high altitude spy missions. Being able to accept the compromises in design to achieve the mission is a big mental hurdle.

Instead of having the design drivers being low weight and maximum efficiency, have the design drivers as being the simplest approach which will enable to job to get done. This means that instead of trying to build the space shuttle, with its incredible complexity, we instead try to build a DC-3. Overengineering the first vehicle is not something to be avoided but encouraged! We simply dont know what the working environment will be for a reusable launch vehicle which operates on a daily or weekly basis. We therefore need to focus on getting a vehicle which will survive for a sufficiently long number of launches to prove the concept. The very first DH-1 will likely have a very small or zero payload. But it will truly be reusable, and the experience gained will be invaluable.

The Believability Hump

 The second barrier is the believabily hump. Most people will not be able to understand how simple and robust the DH-1 concept is until they see it in operation. Therefore we need to have a way of starting small while still keeping all the important aspects of the design. One idea which I have recently found is to first create a smaller reusable sounding rocket. This would be a single stage vehicle that combines both the first and second stage ideas. There is a very good article by Yoshifumi
Inatani over at www.spacefuture.com detailing the design of a reusable VTOVL design and the emphasis on reliable operability. Although it doesnt have the capability to reach orbital velocity it can still reach an altitude of over 300 km.

This rocket also has a payload of 100kg, which is a lot more than most sounding rockets, with a much larger payload bay volume as well! Because it is reusable with quick turnaround times it would greatly reduce the whole cycle of developing an experiment through to launching. I feel that if this cycle can be reduced to months instead of years then it will allow a lot more interesting work to be done. Instead of having a sounding rocket launch be a once in an education experience, it could be a once a semester type of experience. Most importantly it would show that the model of having much simpler yet more robust launch vehicles being turned around rapidly is a significant advantage.

I would envisage a small single stage reusable sounding rocket such as this being built for a couple of million dollars. The aim would be to assemble a small team of engineers to design and build this, operating on the X plane development model. This would enable the software and analysis to be done in smaller easier steps and verify the concept before too much money needs to be spent. This experience would then enable better engineering and design choices to be made once the full DH-1 developement occurs.

The Side Note

There is some great video footage from onboard the Armadillo Aerospace Stiga sounding rocket. An interesting look at what the world is like from 40km up!

Another talk which is interesting is by Kim Ennico (SETI), talking about Commercial Suborbital Spaceflight.

Thursday, 28 March 2013

Running CADAC4 for the DH-1

This post is the documentation for running the CADAC4 program with the DH1 modules and inputs. All the software has been uploaded to a Google Code project called cadac4-dh1. The initial checkin was the version that I was running from my USB stick under windows,  using the gfortran compiler.

The second checkin was the code that I had under Linux, which can be compiled into an executable using the gfortran compiler.

To compile the main DH1 program, execute 'gfortran CADX3.FOR UTL3.FOR R3_MODULE.FOR'

The output will be an 'a.out' executable which should be renamed as 'DH1'. Running this program then reads the input files and calculates the TRAJ.ASC outputs. Refer to the CADAC4 documentation for full details.

Because I am not certain that compiling the Utility files is working correctly, I have also put the Windows/DOS versions of the utilities (CADIN3.exe etc) into a directory called DOS.

The output files can be plotted in Matlab. Start by opening Matlab in an X session:

/usr/local/Matlab/bin/matlab

First edit the TRAJ.ASC to remove all the headers and column names, t
hen change directory to the DH1 code, and execute the 'PlotGraph.m' script. This will generate a graph similar to the one shown.


The blue line is the altitude which tops out around 250,000 feet. The green lines and the right hand scale show the weight of the vehicle in kg, which starts off at 98,000kg GLOW.