Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IO bomb: #20

Merged
merged 39 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
9020131
rebase from lae/main
argonaut22 May 18, 2023
4c8dd80
rebase refresh
argonaut22 May 18, 2023
b18090e
savemodel changed to save_model.jl. added save_model() to output to t…
argonaut22 Oct 17, 2023
c380bf5
Wpax is now in parg and not constants, added .sized flag to aircraft …
argonaut22 Oct 20, 2023
24d2ceb
quicksave works, transferring to new origin
argonaut22 Dec 11, 2023
a91b779
.mdl par import added, par operation framework started
argonaut22 Dec 14, 2023
3d18fd3
add quicksave docstrings
argonaut22 Dec 20, 2023
3a31674
added read_jl for easy include and ac generation of old models
argonaut22 Jan 10, 2024
4151e4f
multimission support for read_input and save_input. serviceable, not …
argonaut22 Jan 17, 2024
cc8e71e
multimission IO functional. pending validation
argonaut22 Jan 17, 2024
3eb1c9b
(missed a file)
argonaut22 Jan 17, 2024
8cd1cd9
caught some index bugs
argonaut22 Jan 18, 2024
9695164
added output_csv(). added more fxns to par_array_opers.jl. more index…
argonaut22 Jan 30, 2024
6806af3
fixed some output_csv bugs, added more index sets, moved exports from…
argonaut22 Feb 1, 2024
dbdfc9d
finished output_csv index sets
argonaut22 Feb 1, 2024
3947a9f
(missed a couple inds)
argonaut22 Feb 1, 2024
a53c0c0
add dependency, remove extraneous file from history, tweak output_Csv()
argonaut22 Feb 2, 2024
82f4a4c
added mission output function to output_csv, doc tweak
argonaut22 Feb 5, 2024
a0273ee
output_csv matrix consistency flag, docstrings
argonaut22 Feb 6, 2024
ce28a8e
output_csv can now specify flight points and missions
argonaut22 Feb 8, 2024
55b94f8
Merge remote-tracking branch 'upstream/main' into toml_output
argonaut22 Feb 8, 2024
09351f5
fixes for PR. added aircraft struct field for sized status
argonaut22 Feb 9, 2024
edad930
pr edit, fix output tests (crlf vs lf)
argonaut22 Feb 11, 2024
10e8b2b
for pr, tweaks to make sure tests pass
argonaut22 Feb 11, 2024
cf6d826
completing docstrings for read_externals.jl
argonaut22 Feb 11, 2024
0e944dc
tweak output_csv(): removes duplicate entries in indices Dict elements
argonaut22 Feb 27, 2024
46a8932
bug fixes in save_model() from prior updates
argonaut22 Feb 28, 2024
9da0fc0
merge upstream into toml_output; tests pass
argonaut22 Mar 14, 2024
38e9306
fixing io from merge, hidden breaks
argonaut22 Mar 15, 2024
3002987
io test and doc skeleton
argonaut22 Mar 15, 2024
8a32e9b
toml save load tests added
argonaut22 Mar 15, 2024
fdcec4b
quicksave/load unit tests. DocStringExtensions added
argonaut22 Mar 15, 2024
862c6b7
io tests, csv output
argonaut22 Mar 17, 2024
f214d02
@kwdef to Base.@kwdef for Julia <1.9 compatibility
argonaut22 Mar 17, 2024
70548ae
export fuselage_tank
argonaut22 Mar 17, 2024
784957f
Update read_input.jl
askprash Mar 20, 2024
813df51
Update TASOPT.jl
askprash Mar 20, 2024
b899c6c
simplifying read_input broadcasting methodology (deletes fill_par_entry)
argonaut22 Mar 20, 2024
5c6ee55
deleting unnecessary dependencies and outdated examples
argonaut22 Mar 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ version = "1.0.0-DEV"

[deps]
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Dierckx = "39dd38d3-220a-591b-8e3c-4c3a8c710a94"
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Expand All @@ -17,6 +19,7 @@ PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee"
Roots = "f2b01f46-fcfa-551c-844a-d8ac1e96c665"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Trapz = "592b5752-818d-11e9-1e9a-2b8ca4a44cd1"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
Expand Down
2 changes: 2 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ makedocs(
"sizing/sizing.md",
"sizing/weightmodels.md"
],
"Data and I/O" => "data_io/data_io.md",

"Miscellaneous" => Any[
"misc/structs.md",
"misc/dreladocs.md",
Expand Down
36 changes: 36 additions & 0 deletions docs/src/data_io/data_io.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

---
# Data structure basics

## `aircraft` struct

## `par` arrays

Refer to the [struct reference page](@ref datastructs) for add'l details.

---
# Inputting to models

## `.toml`s and the default input
tweak default input or import then tweak for example, to _____

```julia
igTmetal = 239 #index for max metal temp (see src/misc/index.inc)
ac = load_default_model() #creates new aircraft using default input .toml
ac.parg[igTmetal] = 2000 #set max metal temp to 2000 K
```

## Reading externals

temp


---

# Exporting from models

## Quicksave and quickload via .toml

## Saving model to a readable .toml

## Output data to .csv
32 changes: 0 additions & 32 deletions example/example_TF_run.jl

This file was deleted.

24 changes: 0 additions & 24 deletions example/example_drela_run.jl

This file was deleted.

Loading
Loading