PHP Classes

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

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 132 All time: 9,324 This week: 560Up
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
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 (1)  
  • example.jpg
  Files folder image Files (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:132
This week:0
All time:9,324
This week:560Up