PHP Classes

Rightsizing to Container : Compute the number of boxes that fit in containers

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 131 All time: 9,313 This week: 148Up
Version License PHP version Categories
rscontainer 1.0.0Proprietary Licen...4.0Algorithms
Description 

Author

This class can compute the number of boxes that fit in containers.

It can take the dimensions of boxes to be shipped in containers, as well the weight and total number of boxes and display the number of boxes that fit in containers of 20 feet, 40 feet or 40 feet HC.

The class can also compute the total weight of all boxes and tell of the whole shipping fits in containers of 20 feet, 40 feet or 40 feet HC.

Innovation Award
PHP Programming Innovation award nominee
January 2016
Number 10


Prize: One downloadable e-book of choice by O'Reilly
Transport containers have standard sizes and weight limits. If you need to fit as many boxes as possible in a container, you just need to know the box dimensions and weight.

This class can figure how many equal boxes fit in standard shipping containers given the dimensions and weight of each box.

Manuel Lemos
Picture of Roberto Aleman
  Performance   Level  
Name: Roberto Aleman <contact>
Classes: 19 packages by
Country: Venezuela Venezuela
Age: 49
All time rank: 1391 in Venezuela Venezuela
Week rank: 312 Down2 in Venezuela Venezuela Down
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

Example

<?php
/* Rightsizing to Container 1.0.0
by Roberto Aleman
ventics.com

The rightsizing to container, is the procedure to follow to optimize according to some estimates, the space to be occupied by a load in a standard container is 20 feet, 40 feet or 40 feet extended. To make an appropriate internal measures displacement of the containers, which are standard must take into account the dimensions of the boxes to be used, pallets measures if they are used and the weight per box. In this case I developed the calculation, with boxes of the same size, which can not be rotated and all have the same weight. There are several types of calculations: loose cargo Loaded with different types of boxes Loaded with boxes of equal size and weight

The Class:
This class allow calculate the number of box that can it fill a container, for sea shipping
The class suggest a result based the dimensions and weight of the box, relative to the space available in standard maritime shipping containers ..


Important:

It assumes that the box can not be rotated
It assumes that no pallets are used


Send $lengthb,$widthb,$heighb,$wxboxb,$nboxb */



include("rightsizing_to_container.php");

$rightsizing = new rightsizing_to_container();
$rightsizing->calculate(0.35, 0.45,0.5,80,300); // length box, width box, height box, weigth box, number of boxes


?>




Details

Rightsizing to Container 1.0.0 by Roberto Aleman ventics.com The rightsizing to container, is the procedure to follow to optimize according to some estimates, the space to be occupied by a load in a standard container is 20 feet, 40 feet or 40 feet extended. To make an appropriate internal measures displacement of the containers, which are standard must take into account the dimensions of the boxes to be used, pallets measures if they are used and the weight per box. In this case I developed the calculation, with boxes of the same size, which can not be rotated and all have the same weight. There are several types of calculations: loose cargo Loaded with different types of boxes Loaded with boxes of equal size and weight The Class: This class allow calculate the number of box that can it fill a container, for sea shipping The class suggest a result based the dimensions and weight of the box, relative to the space available in standard maritime shipping containers .. Important: It assumes that the box can not be rotated It assumes that no pallets are used Send $lengthb,$widthb,$heighb,$wxboxb,$nboxb

Screenshots  
  • example.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Accessible without login Plain text file readme.txt Doc. read me file
Plain text file rightsizing_to_container.php Class main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:131
This week:0
All time:9,313
This week:148Up