Help adding a .eng file to RASAero

The Rocketry Forum

Help Support The Rocketry Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

watheyak

Ex-Jaywalker
TRF Supporter
Joined
May 11, 2009
Messages
1,336
Reaction score
1,576
Location
Arizona
Can anyone tell me what is wrong with my .eng file? RASAero wont recognize it. I'm editing it in Notepad++ as suggested by Carvac and tried some formatting changes to make it match other files in the rasp.eng file, but to no avail. Here it is-

;Loki L-2450
L-2450 54 1113.8 0 2.695 4.372 Loki
0.044 3078.51
0.078 2976.46
0.089 3095.51
0.129 3078.51
0.148 2959.45
0.177 3078.51
0.196 2993.46
0.207 3095.51
0.237 3044.49
0.285 3248.59
0.348 3214.57
0.484 3367.65
0.614 3588.76
0.651 3673.8
0.825 3656.79
0.943 3486.71
0.958 3231.58
0.976 3044.49
0.998 2976.46
1.032 2517.23
1.072 2415.18
1.098 2228.09
1.139 2194.07
1.176 2075.01
1.213 2006.98
1.253 2041
1.29 1938.95
1.364 1496.73
1.449 1241.61
1.505 1088.53
1.623 782.383
1.693 697.341
1.767 442.216
1.793 289.141
1.852 136.067
1.893 85.042
1.912 34.017
1.952 0
;

Thanks for looking!
 
Make sure there aren't any blank lines in the file...RASAero views them as an end-of-file marker.


Sent from my iPhone using Rocketry Forum
 
Edited it to fewer points, still no dice. Really pulling my hair out here. Here's what's actually pasted into the RASP file now-

;
L2450-LW 54 1113 1000 2.695 4.372 LR
0.048 2931.059
0.23 2914.776
0.689 3517.271
0.883 3500.987
1.006 3338.151
1.073 2898.492
1.109 2393.698
1.224 2116.876
1.382 1888.905
1.473 1367.828
1.743 749.048
1.901 407.092
1.988 0.0


Thanks for the input everyone.
 
Scott:

Here's the data, converted from the e-mail you sent me. I also sent this to you in a zip file to your e-mail address.

You can also have more than 32 time-thrust points for a motor in the rasp.eng file for RASAero, so you can put your original time-thrust points back in.


;
;
L2450-LW 54 1113 P 2.695 4.372 LR
0.1 2931.059
0.23 2914.776
0.689 3517.271
0.883 3500.987
1.006 3338.151
1.073 2898.492
1.109 2393.698
1.224 2116.876
1.382 1888.905
1.473 1367.828
1.743 749.048
1.901 407.092
1.988 0
;
;


There's two semi-colons before and after the data for each motor.

I use Word Pad, and the font is Courier New 10.

The main error in the data appears to be that the line spacing was 1.5, instead of single.



Chuck Rogers
Rogers Aeroscience
 
There's two semi-colons before and after the data for each motor.
The convention is one line beginning with a semicolon to separate multiple entries in the file. There are often more, if there is a comment block at the start of an entry, but one should be sufficient. Here's what I've been able to gather about the RASP format.

I use Word Pad, and the font is Courier New 10.
The main error in the data appears to be that the line spacing was 1.5, instead of single.
This sounds odd to me; aren't you reading the file as text? Maybe the problem was saving the original in RTF or some other word processing format.
 
Ok Back from a trip attempting this again.

Thanks Chuck and everyone for helping. Unfortunately, I still cant get it to work. I've chosen single line spacing, the correct font and used carriage returns. I've entered it by hand, rather than cut and pasting. I've used Notepad, Wordpad and Notepad++. All unsuccessful. I think I've done this once a long time ago but I don't remember it being this difficult...

Chuck I may try sending you my rasp file with the manually entered data if you don't mind. It was manually entered in Notepad.

Here's what was manually entered-
L-2450 51 1113.8 P 2.695 4.372 LR
0.048 2931.059
0.23 2914.776
0.689 3517.271
0.883 3500.987
1.006 3338.151
1.073 2898.492
1.109 2393.698
1.224 2116.876
1.382 1888.905
1.473 1367.828
1.901 407.092
1.988 0.0
 
Scott:

Open the file in WordPad. But when you save it, be sure to save it as a text file. I think this is the problem.

In a separate e-mail, I e-mailed you your file saved as a text file.

Another option is to run WordPad, open the rasp file which came with the RASAero download, copy your new motor data in, and then go Save. It will ask you do you want to save as a Text file, you will lose some data formatting, etc. Click on Yes and save the file as a text file.

Let me know if either of the above works.


Chuck Rogers
Rogers Aeroscience
 
Here's what was manually entered-
L-2450 51 1113.8 P 2.695 4.372 LR
Try removing the hyphen from the motor name. Common names are of the form <letter><average thrust>. Dashes are used to indicate delays, but you shouldn't specify the delay this way in the RASP file.
 
BINGO JOHN! I feel an like idiot. I poured over this looking for differences in the other motors and missed the dash.

Chuck, thanks for taking the time to help, as well, and thank you for a great piece of software.

Now for some simulations!
 
Another thing that can cause the error: if the final data line for a motor isn't zero thrust.

e.g. (bad)
4.95 2.9844
4.98 2.184
;
e.g. (good)
4.95 2.9844
4.98 2.184
5.01 0
;
 

Latest posts

Back
Top