Skip to content

Commit

Permalink
added updated examples and reformated
Browse files Browse the repository at this point in the history
  • Loading branch information
tjlarki committed May 22, 2024
1 parent eeaaa8b commit 424142e
Show file tree
Hide file tree
Showing 94 changed files with 845 additions and 1,680 deletions.
4 changes: 2 additions & 2 deletions example/csp/base_classes_and_ray_trace.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\tjlarki\\AppData\\Local\\Temp\\ipykernel_24364\\1596438753.py:10: DeprecationWarning: LightSourceSun.set_incident_rays is deprecated. Use initialize_from_solar_position instead.\n",
"C:\\Users\\TJL\\AppData\\Local\\Temp\\ipykernel_24364\\1596438753.py:10: DeprecationWarning: LightSourceSun.set_incident_rays is deprecated. Use initialize_from_solar_position instead.\n",
" sun.set_incident_rays(solar_field_nsttf.origin_lon_lat,\n"
]
},
Expand Down Expand Up @@ -1419,7 +1419,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\tjlarki\\AppData\\Local\\Temp\\ipykernel_24364\\4189834759.py:7: DeprecationWarning: LightSourceSun.set_incident_rays is deprecated. Use initialize_from_solar_position instead.\n",
"C:\\Users\\TJL\\AppData\\Local\\Temp\\ipykernel_24364\\4189834759.py:7: DeprecationWarning: LightSourceSun.set_incident_rays is deprecated. Use initialize_from_solar_position instead.\n",
" sun3.set_incident_rays(solar_field_nsttf.origin_lon_lat,\n"
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
INFO:singleprocessing:Start run 2024-05-22 12:07:22
INFO:singleprocessing:Clearing files in directory "mirror\data\output\ExampleMirrorOutput"...
INFO:singleprocessing:Initializing render control structures...
INFO:singleprocessing:Beginning examples...
INFO:singleprocessing:

Starting ExampleMirrorOutput.example_mirror()...
INFO:singleprocessing:Closing existing plot windows...
INFO:singleprocessing:Resetting figure management structure...
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo001_Mirror_rectangle_2.0m_x_3.0m_f_eq_2.0m_Face_Up_Face_Up_3d.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo001_Mirror_rectangle_2.0m_x_3.0m_f_eq_2.0m_Face_Up_Face_Up_3d.txt
INFO:singleprocessing:

Starting ExampleMirrorOutput.example_mirror_halfpi_rotation()...
INFO:singleprocessing:Closing existing plot windows...
INFO:singleprocessing:Resetting figure management structure...
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo002_Mirror_rectangle_2.0m_x_3.0m_f_eq_2.0m_Face_Up_Face_Horizon_3d.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo002_Mirror_rectangle_2.0m_x_3.0m_f_eq_2.0m_Face_Up_Face_Horizon_3d.txt
INFO:singleprocessing:

Starting ExampleMirrorOutput.example_facet()...
INFO:singleprocessing:Closing existing plot windows...
INFO:singleprocessing:Resetting figure management structure...
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo004_Facet_from_Mirror_rectangle_2.0m_x_3.0m_f_eq_2.0m_Face_Up_3d.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo004_Facet_from_Mirror_rectangle_2.0m_x_3.0m_f_eq_2.0m_Face_Up_3d.txt
INFO:singleprocessing:

Starting ExampleMirrorOutput.example_heliostat_surface_normals()...
INFO:singleprocessing:Closing existing plot windows...
INFO:singleprocessing:Resetting figure management structure...
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo006_Heliostat_with_Parametrically_Defined_Facets_3d.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo006_Heliostat_with_Parametrically_Defined_Facets_3d.txt
INFO:singleprocessing:

Starting ExampleMirrorOutput.example_solar_field()...
INFO:singleprocessing:Closing existing plot windows...
INFO:singleprocessing:Resetting figure management structure...
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo007_Two_Heliostats_3d.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo007_Two_Heliostats_3d.txt
INFO:singleprocessing:

Starting ExampleMirrorOutput.example_heliostat_05W01_and_14W01()...
INFO:singleprocessing:Closing existing plot windows...
INFO:singleprocessing:Resetting figure management structure...
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo017_NSTTF_Heliostat_5W01_long_normals__xy.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo017_NSTTF_Heliostat_5W01_long_normals__xy.txt
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo018_NSTTF_Heliostat_14W01_long_normals__xy.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo018_NSTTF_Heliostat_14W01_long_normals__xy.txt
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo019_Two_NSTTF_Heliostats_5W01_and_14W01_very_long_normals__yz.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo019_Two_NSTTF_Heliostats_5W01_and_14W01_very_long_normals__yz.txt
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo020_NSTTF_Heliostat_5W01_exaggerated_z__3d_3.71z4.42.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo020_NSTTF_Heliostat_5W01_exaggerated_z__3d_3.71z4.42.txt
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo021_NSTTF_Heliostat_5W01_exaggerated_z__yz_3.71z4.42.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo021_NSTTF_Heliostat_5W01_exaggerated_z__yz_3.71z4.42.txt
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo022_NSTTF_Heliostat_14W01_exaggerated_z__3d_4.36z5.07.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo022_NSTTF_Heliostat_14W01_exaggerated_z__3d_4.36z5.07.txt
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo023_NSTTF_Heliostat_14W01_exaggerated_z__yz_4.36z5.07.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo023_NSTTF_Heliostat_14W01_exaggerated_z__yz_4.36z5.07.txt
INFO:singleprocessing:

Starting ExampleMirrorOutput.example_heliostat_stages()...
INFO:singleprocessing:Closing existing plot windows...
INFO:singleprocessing:Resetting figure management structure...
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo024_NSTTF_Heliostat_Short_Focal_Length_Without_Canting_3d.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo024_NSTTF_Heliostat_Short_Focal_Length_Without_Canting_3d.txt
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo025_NSTTF_Heliostat_Short_Focal_Length_Canted_and_Lifted_3d.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo025_NSTTF_Heliostat_Short_Focal_Length_Canted_and_Lifted_3d.txt
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo026_NSTTF_Heliostat_Short_Focal_Length_With_Canting_3d.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo026_NSTTF_Heliostat_Short_Focal_Length_With_Canting_3d.txt
INFO:singleprocessing:In View3d.save(), saving figure: mirror\data\output\ExampleMirrorOutput\tmo027_NSTTF_Heliostat_Short_Focal_Length_With_Canting_and_Tracking_3d.png
INFO:singleprocessing:Saving figure text: mirror\data\output\ExampleMirrorOutput\tmo027_NSTTF_Heliostat_Short_Focal_Length_With_Canting_and_Tracking_3d.txt
INFO:singleprocessing:All examples complete.
INFO:singleprocessing:Closing created plot windows...
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ Caption:
A single mirror of shape (rectangle 2.0m x 3.0m), analytically defined with focal length f=2.0m, facing the horizon.

Comments:
Oriented face horizon.
Oriented face 45 deg up from level.
Render surface only.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ Caption:
Two 4-facet heliostats, tracking.

Comments:
Heliostat 1 oriented initially face west.
Heliostat 2 oriented initially face south.
Heliostats set to track to [60.0, 8.8, 28.9] at ymdhmsz =[2021, 5, 13, 13, 2, 0, -6]
Heliostats set to track to 3D Point:
array([[60. ],
[ 8.8],
[28.9]]) at ymdhmsz =(2021, 5, 13, 13, 0, 0, -6)
Render mirror surfaces, facet centroids, and heliostat outline and surface normal.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ Caption:
Hypothetical short-focal length NSTTF heliostat modeled as a symmetric paraboloid with focal length f=5m with canting and tracking.

Comments:
Heliostats set to track to [60.0, 8.8, 28.9] at ymdhmsz =[2021, 5, 13, 13, 2, 0, -6]
Heliostats set to track to 3D Point:
array([[60. ],
[ 8.8],
[28.9]]) at ymdhmsz =(2021, 5, 13, 13, 2, 0, -6)

Loading

0 comments on commit 424142e

Please sign in to comment.