Skip to content

Weight analysis report should include component weight #2651

Closed

Description

@lwrage

Please describe the problem your proposed feature would address

The weight report contains the weight of subcomponents and the weight of the component including subcomponents. Theweight of the component itself is the difference.

What is the impact of the problem?

It is confusing that the weight of the component itself (without subcomponents) is not part of the report.

Describe the solution you'd like
Component weight without subcomponents should be made explicit in the report.

Activity

  1. added this to the 2.10.0 milestone on May 7, 2021
  2. lwrage commented on May 7, 2021

    @lwrage
    ContributorAuthor

    This was found in a report. We need to verify that this is as described.

  3. removed this from the 2.10.0 milestone on Sep 18, 2021
  4. AaronGreenhouse commented on Aug 21, 2025

    @AaronGreenhouse
    Contributor

    Confirmed that the output only contains the gross weights.

    Weights_root_i_Instance__WeightAnalysis.csv

  5. AaronGreenhouse commented on Aug 21, 2025

    @AaronGreenhouse
    Contributor
    package Weights
    public
    	with SEI;
    
    	system A
    		properties
    			SEI::NetWeight => 1.0kg;
    	end A;
    
    	system B
    		properties
    			SEI::NetWeight => 2.0kg;
    	end B;
    
    	system C
    		properties
    			SEI::NetWeight => 3.0kg;
    	end C;
    	
    	system X1		
    	end X1;
    	
    	system implementation X1.i
    		subcomponents
    			s1: system A;
    			s2: system B;
    			s3: system C;
    		properties
    			SEI::NetWeight => 5.0 kg;		
    	end X1.i;
    
    
    	system AA
    		properties
    			SEI::NetWeight => 10.0kg;
    	end AA;
    
    	system BB
    		properties
    			SEI::NetWeight => 20.0kg;
    	end BB;
    
    	system CC
    		properties
    			SEI::NetWeight => 30.0kg;
    	end CC;
    	
    	system X2	
    	end X2;
    	
    	system implementation X2.i
    		subcomponents
    			s1: system AA;
    			s2: system BB;
    			s3: system CC;
    		properties
    			SEI::NetWeight => 50.0 kg;		
    	end X2.i;
    	
    	system root
    		properties
    			SEI::NetWeight => 10.0 kg;
    	end root;
    	
    	system implementation root.i
    		subcomponents
    			s1: system X1.i;
    			s2: system X2.i;
    	end root.i;
    end Weights;
    
  6. added theissue type on Aug 22, 2025
  7. AaronGreenhouse commented on Aug 22, 2025

    @AaronGreenhouse
    Contributor

    Analysis has the net and gross weight of all the items. The messages generated by PropertyTotals.calcWeight() need to be updated.

    To be clear, the AnalyisResult structure does contain all the information already, it is just the textual output that does not contain all the data.

  8. AaronGreenhouse commented on Aug 22, 2025

    @AaronGreenhouse
    Contributor

    Added an additional info marker for each physical component (not thread, process, etc) that reports that component's net weight.

  9. added this to the 2.17.0 milestone on Aug 29, 2025
  10. unpinned this issue on Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions